We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a815ecc commit 1c94ed3Copy full SHA for 1c94ed3
pkg/connector/connector.go
@@ -53,20 +53,10 @@ var (
53
Id: "api-key",
54
DisplayName: "API Key",
55
Traits: []v2.ResourceType_Trait{v2.ResourceType_TRAIT_SECRET},
56
- Annotations: annotationsForResourceType(true),
+ Annotations: annotations.New(&v2.SkipEntitlementsAndGrants{}),
57
}
58
)
59
60
-func annotationsForResourceType(skipEntitlementsAndGrants bool) annotations.Annotations {
61
- annos := annotations.Annotations{}
62
-
63
- if skipEntitlementsAndGrants {
64
- annos.Update(&v2.SkipEntitlementsAndGrants{})
65
- }
66
67
- return annos
68
-}
69
70
type GitHub struct {
71
orgs []string
72
client *github.Client
0 commit comments