Skip to content

Commit

Permalink
backport of commit 698ee3d
Browse files Browse the repository at this point in the history
  • Loading branch information
Juanadelacuesta authored Apr 4, 2023
1 parent 46b4b83 commit b08471e
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 b08471e

Please sign in to comment.