Skip to content

Commit

Permalink
chore: update spinner start when running node
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyasbhat0 committed Dec 5, 2023
1 parent a0348db commit 477dcaf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions cli/cmd/chains/chain/icon/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ func icon(cmd *cobra.Command, args []string) {

var response = &common.DiveServiceResponse{}

cliContext.Spinner().StartWithMessage("Starting Icon Node", "green")
if decentralization {
response, err = RunIconNode(cliContext)

Expand Down
3 changes: 0 additions & 3 deletions cli/cmd/chains/chain/icon/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ func RunIconNode(cli *common.Cli) (*common.DiveServiceResponse, error) {
if err != nil {
return nil, err
}
cli.Spinner().StartWithMessage("Starting Icon Node", "green")

genesisHandler, err := genesismanager(enclaveContext)
if err != nil {
Expand Down Expand Up @@ -63,8 +62,6 @@ func RunIconNode(cli *common.Cli) (*common.DiveServiceResponse, error) {

func RunDecentralization(cli *common.Cli, params string) error {

cli.Spinner().SetSuffixMessage("Starting Icon Node Decentralization", "green")

kurtosisEnclaveContext, err := cli.Context().GetEnclaveContext(common.DiveEnclave)

if err != nil {
Expand Down

0 comments on commit 477dcaf

Please sign in to comment.