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 118cb76 commit a6297c4Copy full SHA for a6297c4
cli/cmd/get.go
@@ -360,7 +360,7 @@ func getAPIsByEnv(env cliconfig.Environment) (string, error) {
360
var allTrafficSplitters []schema.APIResponse
361
362
for _, api := range apisRes {
363
- switch api.Spec.Kind {
+ switch api.Metadata.Kind {
364
case userconfig.BatchAPIKind:
365
allBatchAPIs = append(allBatchAPIs, api)
366
case userconfig.TaskAPIKind:
0 commit comments