Skip to content

Commit

Permalink
Merge 698ee3d into backport/b-gh-8487/formally-clever-caiman
Browse files Browse the repository at this point in the history
  • Loading branch information
hc-github-team-nomad-core committed May 16, 2023
2 parents 92f2426 + 698ee3d commit 013f581
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nomad/structs/structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -5139,7 +5139,7 @@ func (u *UpdateStrategy) IsEmpty() bool {
// When the Job is transformed from api to struct, the Update Strategy block is
// copied into the existing task groups, the only things that are passed along
// are MaxParallel and Stagger, because they are enforced at job level.
// That is why checking if MaxParallel is cero is enough to know if the
// That is why checking if MaxParallel is zero is enough to know if the
// update block is empty.

return u.MaxParallel == 0
Expand Down

0 comments on commit 013f581

Please sign in to comment.