From bad77f002708fafa3efe60530b411ef2ec236100 Mon Sep 17 00:00:00 2001 From: iwilltry42 Date: Thu, 28 Jan 2021 08:24:43 +0100 Subject: [PATCH] clusterStart: wait for servers to be up and running by default --- cmd/cluster/clusterStart.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/cluster/clusterStart.go b/cmd/cluster/clusterStart.go index e67568bd..c2dd4793 100644 --- a/cmd/cluster/clusterStart.go +++ b/cmd/cluster/clusterStart.go @@ -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