From bfba688c16a33912efd59cb28ffa89569155a0fb Mon Sep 17 00:00:00 2001 From: Jack Collins Date: Tue, 1 Feb 2022 16:38:04 -0800 Subject: [PATCH] Fix: cortex get "no apis deployed" when only async apis (#2428) --- cli/cmd/get.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/cmd/get.go b/cli/cmd/get.go index 615cbe2d24..a8d11c0ddf 100644 --- a/cli/cmd/get.go +++ b/cli/cmd/get.go @@ -374,7 +374,7 @@ func getAPIsByEnv(env cliconfig.Environment) (string, error) { } } - if len(allRealtimeAPIs) == 0 && len(allBatchAPIs) == 0 && len(allTaskAPIs) == 0 && len(allTrafficSplitters) == 0 { + if len(allRealtimeAPIs) == 0 && len(allAsyncAPIs) == 0 && len(allBatchAPIs) == 0 && len(allTaskAPIs) == 0 && len(allTrafficSplitters) == 0 { return console.Bold("no apis are deployed"), nil }