The default is not HookOnlyStrategy but WaitStrategy

Signed-off-by: Benoit Tigeot <benoit.tigeot@lifen.fr>
pull/31421/head
Benoit Tigeot 4 months ago
parent a5e110fccd
commit 1836f37f4d
No known key found for this signature in database
GPG Key ID: 8E6D4FC8AEBDA62C

@ -89,7 +89,7 @@ func (ws *waitValue) Set(s string) error {
*ws = waitValue(kube.StatusWatcherStrategy)
return nil
case "false":
slog.Warn("--wait=false is deprecated (boolean value) and can be replaced by omitting the --wait flag")
slog.Warn("--wait=false is deprecated (boolean value) and can be replaced with --wait=hookOnly")
*ws = waitValue(kube.HookOnlyStrategy)
return nil
default:

Loading…
Cancel
Save