From 873bdc90276a54bd52df0d8171db2edbbceed1e6 Mon Sep 17 00:00:00 2001 From: Luke Bakken Date: Wed, 4 Nov 2020 05:45:08 -0800 Subject: Modify "byte" validator to allow 255 --- priv/schema/rabbit.schema | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- cgit v1.2.1