diff options
author | Luke Bakken <lbakken@pivotal.io> | 2020-11-04 05:42:08 -0800 |
---|---|---|
committer | Luke Bakken <lbakken@pivotal.io> | 2020-11-04 05:42:08 -0800 |
commit | 7bdb5705c33925b5ee659cc09b1e4595cb142d34 (patch) | |
tree | 95c68111f2a536d13b1b9b648cc31a26b9afaf36 | |
parent | b054165fd18a9c280a3f0ca6284f1b44889e7153 (diff) | |
download | rabbitmq-server-git-7bdb5705c33925b5ee659cc09b1e4595cb142d34.tar.gz |
Fix "byte" validator message.
-rw-r--r-- | priv/schema/rabbit.schema | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/priv/schema/rabbit.schema b/priv/schema/rabbit.schema index 693c05def1..30d86858a2 100644 --- a/priv/schema/rabbit.schema +++ b/priv/schema/rabbit.schema @@ -1754,7 +1754,7 @@ fun(Port) when is_integer(Port) -> Port > 0 andalso Port < 65535 end}. -{validator, "byte", "Integer is not 0<i<255", +{validator, "byte", "Integer is not 0<=i<255", fun(Int) when is_integer(Int) -> Int >= 0 andalso Int < 255 end}. |