Skip to content

Commit f92ae18

Browse files
committed
fix(doc): Update default wait strategy
fixes: #31652 Default wait strategy is hookOnly, so updated the docs to reflect the same Signed-off-by: Deepak Chethan <deepakchethan@outlook.com>
1 parent 019e7e7 commit f92ae18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cmd/flags.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ func AddWaitFlag(cmd *cobra.Command, wait *kube.WaitStrategy) {
5959
cmd.Flags().Var(
6060
newWaitValue(kube.HookOnlyStrategy, wait),
6161
"wait",
62-
"if specified, wait until resources are ready (up to --timeout). Values: 'watcher' (default), 'hookOnly', and 'legacy'.",
62+
"if specified, wait until resources are ready (up to --timeout). Values: 'hookOnly' (default), 'watcher', and 'legacy'.",
6363
)
6464
// Sets the strategy to use the watcher strategy if `--wait` is used without an argument
6565
cmd.Flags().Lookup("wait").NoOptDefVal = string(kube.StatusWatcherStrategy)

0 commit comments

Comments
 (0)