summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Bakken <lbakken@pivotal.io>2020-11-04 05:45:08 -0800
committerLuke Bakken <lbakken@pivotal.io>2020-11-04 05:45:08 -0800
commit873bdc90276a54bd52df0d8171db2edbbceed1e6 (patch)
tree10c45cfc9b53905ceb4c70b6722e7c301aa69d9e
parent73b924fdbc8ff19e540c6cd8b86608a89373e28f (diff)
downloadrabbitmq-server-git-873bdc90276a54bd52df0d8171db2edbbceed1e6.tar.gz
Modify "byte" validator to allow 255rabbitmq-server-2493
-rw-r--r--priv/schema/rabbit.schema2
1 files changed, 1 insertions, 1 deletions
diff --git a/priv/schema/rabbit.schema b/priv/schema/rabbit.schema
index bafda2e9e9..a7a4f8dc23 100644
--- a/priv/schema/rabbit.schema
+++ b/priv/schema/rabbit.schema
@@ -1756,7 +1756,7 @@ end}.
{validator, "byte", "Integer is not 0<=i<=255",
fun(Int) when is_integer(Int) ->
- Int >= 0 andalso Int < 255
+ Int >= 0 andalso Int =< 255
end}.
{validator, "dir_writable", "Cannot create file in dir",