Skip to content

Commit a320e9d

Browse files
authored
Hide replica counts in get <api_name> for local APIs (#1276)
1 parent a4beb66 commit a320e9d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cli/cmd/lib_sync_apis.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ func syncAPITable(syncAPI *schema.SyncAPI, env cliconfig.Environment) (string, e
4747
t := syncAPIsTable([]schema.SyncAPI{*syncAPI}, []string{env.Name})
4848
t.FindHeaderByTitle(_titleEnvironment).Hidden = true
4949
t.FindHeaderByTitle(_titleSyncAPI).Hidden = true
50+
if env.Provider == types.LocalProviderType {
51+
hideReplicaCountColumns(&t)
52+
}
5053

5154
out += t.MustFormat()
5255

0 commit comments

Comments
 (0)