spf13/cobra: don't use PersistentFlags() (#319)

This commit is contained in:
Nikolay Edigaryev
2025-05-26 19:58:37 +04:00
committed by GitHub
parent 3a05fc71ae
commit 76f0672759
12 changed files with 59 additions and 59 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ func newPauseWorkerCommand() *cobra.Command {
Args: cobra.ExactArgs(1),
}
command.PersistentFlags().Uint64Var(&wait, "wait", 0,
command.Flags().Uint64Var(&wait, "wait", 0,
"wait the specified amount of seconds for the worker to stop running any VMs")
return command