Skip to content

Commit

Permalink
fix(cloud): Do not print help message on 'standby' (#2132)
Browse files Browse the repository at this point in the history
Reviewed-by: Alexander Jung <[email protected]>
Approved-by: Alexander Jung <[email protected]>
  • Loading branch information
nderjung authored Feb 4, 2025
2 parents dcaf69e + bf8e60b commit 6688567
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cli/kraft/cloud/utils/print.go
Original file line number Diff line number Diff line change
Expand Up @@ -1193,7 +1193,7 @@ func PrettyPrintInstance(ctx context.Context, metro string, instance kcinstances
entries...,
)

if instance.State != "running" && instance.State != "starting" && autoStart {
if instance.State != "running" && instance.State != "starting" && instance.State != "standby" && autoStart {
fmt.Fprintf(out, "\n")
log.G(ctx).Info("it looks like the instance did not come online, to view logs run:")
fmt.Fprintf(out, "\n kraft cloud instance logs %s\n\n", instance.Name)
Expand Down

0 comments on commit 6688567

Please sign in to comment.