Reduce activation indication movement (#215)

This commit is contained in:
Paul Meyer 2022-10-06 11:20:01 +02:00 committed by GitHub
parent e4963b0511
commit b668b8ed2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -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()

View File

@ -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,

View File

@ -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()