mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-01-23 22:01:14 -05:00
Print "Initializing cluster..." on stderr
This commit is contained in:
parent
bc584d61fa
commit
d41174659b
@ -60,7 +60,7 @@ func runInitialize(cmd *cobra.Command, args []string) error {
|
|||||||
return dialer.New(nil, validator.V(cmd), &net.Dialer{})
|
return dialer.New(nil, validator.V(cmd), &net.Dialer{})
|
||||||
}
|
}
|
||||||
|
|
||||||
spinner := newSpinner(cmd.OutOrStdout())
|
spinner := newSpinner(cmd.ErrOrStderr())
|
||||||
defer spinner.Stop()
|
defer spinner.Stop()
|
||||||
|
|
||||||
ctx, cancel := context.WithTimeout(cmd.Context(), time.Hour)
|
ctx, cancel := context.WithTimeout(cmd.Context(), time.Hour)
|
||||||
|
Loading…
Reference in New Issue
Block a user