Skip to content

Commit 027565d

Browse files
authored
add kind, source, provider labels (#233)
1 parent 8b26cba commit 027565d

File tree

1 file changed

+4
-0
lines changed
  • cmd/registry-connect/discover/apigee

1 file changed

+4
-0
lines changed

cmd/registry-connect/discover/apigee/export.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ func export(ctx context.Context, client apigee.Client) error {
6969
},
7070
Labels: map[string]string{
7171
"apihub-kind": "product",
72+
"apihub-source": "registry-connect",
73+
"apihub-provider": "apigee",
7274
"apihub-business-unit": label(client.Org()),
7375
"apihub-target-users": access,
7476
},
@@ -181,6 +183,8 @@ func addProxies(ctx context.Context, client apigee.Client, proxies []*api.Google
181183
},
182184
Labels: map[string]string{
183185
"apihub-kind": "proxy",
186+
"apihub-source": "registry-connect",
187+
"apihub-provider": "apigee",
184188
"apihub-business-unit": label(client.Org()),
185189
},
186190
},

0 commit comments

Comments
 (0)