diff --git a/pkg/cmd/flags.go b/pkg/cmd/flags.go index 10c7e9714..044b19e04 100644 --- a/pkg/cmd/flags.go +++ b/pkg/cmd/flags.go @@ -85,7 +85,7 @@ func (ws *waitValue) Set(s string) error { *ws = waitValue(kube.StatusWatcherStrategy) return nil case "false": - *ws = "" + *ws = waitValue(kube.HookOnlyStrategy) return nil default: return fmt.Errorf("invalid wait input %q. Valid inputs are true, false, %s, and %s", s, kube.StatusWatcherStrategy, kube.LegacyStrategy)