Skip to content

Commit

Permalink
backport voxpupuli#689
Browse files Browse the repository at this point in the history
  • Loading branch information
maxenced committed Jul 19, 2016
1 parent 33ee61d commit b122d5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/resource/location.pp
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@
fail('$priority must be an integer.')
}
validate_array($rewrite_rules)
if ($priority < 401) or ($priority > 899) {
if ($priority +0 < 401) or ($priority + 0 > 899) {
fail('$priority must be in the range 401-899.')
}

Expand Down

0 comments on commit b122d5a

Please sign in to comment.