Print "Initializing cluster..." on stderr

This commit is contained in:
Nils Hanke 2022-11-10 17:08:12 +01:00 committed by Nils Hanke
parent bc584d61fa
commit d41174659b

View File

@ -60,7 +60,7 @@ func runInitialize(cmd *cobra.Command, args []string) error {
return dialer.New(nil, validator.V(cmd), &net.Dialer{})
}
spinner := newSpinner(cmd.OutOrStdout())
spinner := newSpinner(cmd.ErrOrStderr())
defer spinner.Stop()
ctx, cancel := context.WithTimeout(cmd.Context(), time.Hour)