clusterStart: wait for servers to be up and running by default

This commit is contained in:
iwilltry42 2021-01-28 08:24:43 +01:00
parent 074e5be5e8
commit bad77f0027
No known key found for this signature in database
GPG Key ID: 7BA57AD1CFF16110

View File

@ -62,7 +62,7 @@ func NewCmdClusterStart() *cobra.Command {
// add flags
cmd.Flags().BoolP("all", "a", false, "Start all existing clusters")
cmd.Flags().BoolVar(&startClusterOpts.WaitForServer, "wait", false, "Wait for the server(s) (and loadbalancer) to be ready before returning.")
cmd.Flags().BoolVar(&startClusterOpts.WaitForServer, "wait", true, "Wait for the server(s) (and loadbalancer) to be ready before returning.")
cmd.Flags().DurationVar(&startClusterOpts.Timeout, "timeout", 0*time.Second, "Maximum waiting time for '--wait' before canceling/returning.")
// add subcommands