From 24fbb5eeb9ad0ae5eeb7ed88afe6ab0928efc1eb Mon Sep 17 00:00:00 2001 From: Lukas W Date: Mon, 22 Nov 2021 14:28:03 +0100 Subject: [PATCH] cli: fix typo in deployment monitor introduced in 0edda116ade47a39d61bf12760027924cbab8e50 --- command/deployment_status.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/command/deployment_status.go b/command/deployment_status.go index 18de5e218ce..3affa7f0bab 100644 --- a/command/deployment_status.go +++ b/command/deployment_status.go @@ -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) @@ -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