Skip to content

Commit 14cfb66

Browse files
committed
remove child resource type from project
1 parent 05343a1 commit 14cfb66

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

pkg/connector/projects.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -210,11 +210,6 @@ func (o *projectBuilder) Revoke(ctx context.Context, grant *v2.Grant) (annotatio
210210

211211
func projectResource(project *client.Project, parentResourceID *v2.ResourceId, isOnPremise bool) (*v2.Resource, error) {
212212
var annotations []proto.Message
213-
if !isOnPremise {
214-
annotations = []proto.Message{
215-
&v2.ChildResourceType{ResourceTypeId: userResourceType.Id},
216-
}
217-
}
218213

219214
return resourceSdk.NewGroupResource(
220215
project.NameWithNamespace,

0 commit comments

Comments
 (0)