Skip to content

Commit

Permalink
fix(titus): Don't set default ZoneBalance during cloneServerGroup ope…
Browse files Browse the repository at this point in the history
…ration (#3887)
  • Loading branch information
aravindmd committed Jul 18, 2019
1 parent de2c3a0 commit ed766ac
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -334,9 +334,6 @@ class TitusDeployHandler implements DeployHandler<TitusDeployDescription> {
submitJobRequest.withConstraint(SubmitJobRequest.Constraint.soft(constraint))
}
}
if (description.jobType == "service" && !description.hardConstraints?.contains(SubmitJobRequest.Constraint.ZONE_BALANCE) && !description.softConstraints?.contains(SubmitJobRequest.Constraint.ZONE_BALANCE)) {
submitJobRequest.withConstraint(SubmitJobRequest.Constraint.soft(SubmitJobRequest.Constraint.ZONE_BALANCE))
}
}
if (description.jobType) {
submitJobRequest.withJobType(description.jobType)
Expand Down

0 comments on commit ed766ac

Please sign in to comment.