Skip to content

Commit

Permalink
restore defaultTimeout
Browse files Browse the repository at this point in the history
  • Loading branch information
1aal committed Oct 11, 2023
1 parent 46887a9 commit 7877cc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cli/cmd/playground/destroy.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func newDestroyCmd(streams genericclioptions.IOStreams) *cobra.Command {
}

cmd.Flags().BoolVar(&o.purge, "purge", true, "Purge all resources before destroying kubernetes cluster, delete all clusters created by KubeBlocks and uninstall KubeBlocks.")
cmd.Flags().DurationVar(&o.timeout, "timeout", 300*time.Second, "Time to wait for destroy KubeBlocks, such as --timeout=10m")
cmd.Flags().DurationVar(&o.timeout, "timeout", 300*time.Second, "Time to wait for destroying KubeBlocks, such as --timeout=10m")
cmd.Flags().BoolVar(&o.autoApprove, "auto-approve", false, "Skip interactive approval before destroying the playground")
return cmd
}
Expand Down

0 comments on commit 7877cc4

Please sign in to comment.