Skip to content

Commit

Permalink
cli: fix typo in deployment monitor
Browse files Browse the repository at this point in the history
introduced in 0edda11
  • Loading branch information
lukas-w committed Nov 22, 2021
1 parent 873b096 commit 24fbb5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions command/deployment_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ UPDATE:
glint.Text(fmt.Sprintf("✓ Deployment %q %s", limit(deployID, length), status)),
).Row().MarginLeft(2)
break UPDATE
case structs.DeploymentStatusCancelled, structs.DeploymentStatusDescriptionBlocked:
case structs.DeploymentStatusCancelled, structs.DeploymentStatusBlocked:
endSpinner = glint.Layout(
glint.Text(fmt.Sprintf("! Deployment %q %s", limit(deployID, length), status)),
).Row().MarginLeft(2)
Expand Down Expand Up @@ -436,7 +436,7 @@ func (c *DeploymentStatusCommand) defaultMonitor(client *api.Client, deployID st
}
return

case structs.DeploymentStatusSuccessful, structs.DeploymentStatusCancelled, structs.DeploymentStatusDescriptionBlocked:
case structs.DeploymentStatusSuccessful, structs.DeploymentStatusCancelled, structs.DeploymentStatusBlocked:
return
default:
q.WaitIndex = meta.LastIndex
Expand Down

0 comments on commit 24fbb5e

Please sign in to comment.