mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-01-11 15:39:33 -05:00
Reduce activation indication movement (#215)
This commit is contained in:
parent
e4963b0511
commit
b668b8ed2b
@ -114,7 +114,7 @@ func create(cmd *cobra.Command, creator cloudCreator, fileHandler file.Handler)
|
||||
}
|
||||
}
|
||||
|
||||
spinner := newSpinner(cmd, "Loading ", true)
|
||||
spinner := newSpinner(cmd, "Creating", false)
|
||||
spinner.Start()
|
||||
state, err := creator.Create(cmd.Context(), provider, config, flags.name, instanceType, flags.controllerCount, flags.workerCount)
|
||||
spinner.Stop()
|
||||
|
@ -124,7 +124,7 @@ func initialize(cmd *cobra.Command, newDialer func(validator *cloudcmd.Validator
|
||||
return fmt.Errorf("parsing or generating master secret from file %s: %w", flags.masterSecretPath, err)
|
||||
}
|
||||
|
||||
spinner := newSpinner(cmd, "Initializing cluster ", true)
|
||||
spinner := newSpinner(cmd, "Initializing cluster ", false)
|
||||
spinner.Start()
|
||||
req := &initproto.InitRequest{
|
||||
MasterSecret: masterSecret.Key,
|
||||
|
@ -47,7 +47,7 @@ func terminate(cmd *cobra.Command, terminator cloudTerminator, fileHandler file.
|
||||
return fmt.Errorf("reading Constellation state: %w", err)
|
||||
}
|
||||
|
||||
spinner := newSpinner(cmd, "Terminating ", true)
|
||||
spinner := newSpinner(cmd, "Terminating", false)
|
||||
spinner.Start()
|
||||
err := terminator.Terminate(cmd.Context(), stat)
|
||||
spinner.Stop()
|
||||
|
Loading…
Reference in New Issue
Block a user