Skip to content

Commit 78d3eec

Browse files
committed
Update API readiness condition in get command
(cherry picked from commit 8c97ae4)
1 parent 6553494 commit 78d3eec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/cmd/get.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ func classificationMetricsTable(apiMetrics schema.APIMetrics) string {
419419
}
420420

421421
func describeModelInput(groupStatus *resource.APIGroupStatus, apiEndpoint string) string {
422-
if groupStatus.Available() == 0 {
422+
if groupStatus.ReadyUpdated+groupStatus.ReadyStaleCompute == 0 {
423423
return "the model's input schema will be available when the API is live"
424424
}
425425

0 commit comments

Comments
 (0)