Skip to content

Commit

Permalink
fix: missplay using sum
Browse files Browse the repository at this point in the history
  • Loading branch information
David Ragot committed Feb 23, 2024
1 parent 102dbb0 commit 47bb427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/fctl/cmd/stack/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func waitStackReady(cmd *cobra.Command, client *membershipclient.APIClient, prof
return stackRsp.Data, nil
}

if waitTime > 2*time.Minute {
if sum > 2*time.Minute {
pterm.Warning.Println("Waiting for stack to be ready...")
return nil, fmt.Errorf("there might a problem with the stack scheduling, retry and if the problem persists please contact the support")
}
Expand Down

0 comments on commit 47bb427

Please sign in to comment.