Skip to content

Commit

Permalink
Add string emptiness check
Browse files Browse the repository at this point in the history
  • Loading branch information
gururajsh committed Jul 31, 2024
1 parent 0e3a423 commit 24717d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actor/v7pushaction/sequence.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func ShouldStagePackage(plan PushPlan) bool {
}

func ShouldCreateDeployment(plan PushPlan) bool {
return plan.Strategy == constant.DeploymentStrategyRolling || plan.Strategy == constant.DeploymentStrategyCanary
return plan.Strategy != ""
}

func ShouldStopApplication(plan PushPlan) bool {
Expand Down

0 comments on commit 24717d9

Please sign in to comment.