Skip to content

Commit a1253c2

Browse files
committed
Don't show API history table when running locally
1 parent c75abf2 commit a1253c2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cli/cmd/lib_realtime_apis.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@ func realtimeAPITable(realtimeAPI schema.APIResponse, env cliconfig.Environment)
7474
out += "\n" + describeModelInput(realtimeAPI.Status, realtimeAPI.Spec.Predictor, realtimeAPI.Endpoint)
7575
}
7676

77-
out += "\n" + apiHistoryTable(realtimeAPI.APIVersions)
77+
if env.Provider != types.LocalProviderType {
78+
out += "\n" + apiHistoryTable(realtimeAPI.APIVersions)
79+
}
7880

7981
if !_flagVerbose {
8082
return out, nil

0 commit comments

Comments
 (0)