Browse Source

Update deploy.go

Mohammed Nafees 3 years ago
parent
commit
716650d97b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cli/cmd/deploy.go

+ 1 - 1
cli/cmd/deploy.go

@@ -1184,7 +1184,7 @@ func checkDeploymentStatus(client *api.Client) error {
 			return fmt.Errorf("error fetching new replicaset: %w", err)
 		}
 
-		if minUnavailable <= rs.Status.ReadyReplicas {
+		if minAvailable <= rs.Status.ReadyReplicas {
 			success = true
 		}