Skip to content

Commit

Permalink
Merge deployment status cases
Browse files Browse the repository at this point in the history
Co-authored-by: moroderNumerous <[email protected]>
  • Loading branch information
jfeodor and moroderNumerous committed Jun 10, 2024
1 parent 43748ff commit 06ab4d8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cli/cmd/deploy/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,7 @@ func Deploy(ctx context.Context, apps AppService, appDir, projectDir, slug strin
case "AppDeployStatusEvent":
task.AddLine("Deploy", "Status: "+de.DeploymentStatus.Status)
switch de.DeploymentStatus.Status {
case "PENDING":
case "RUNNING":
case "PENDING", "RUNNING":
default:
return fmt.Errorf("got status %s while deploying", de.DeploymentStatus.Status)
}
Expand Down

0 comments on commit 06ab4d8

Please sign in to comment.