Skip to content

Commit 1e4555b

Browse files
vhost_max: add a Cuttlefish validator
1 parent 947c0b7 commit 1e4555b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbit/priv/schema/rabbit.schema

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,7 @@ end}.
898898
}.
899899

900900
{mapping, "vhost_max", "rabbit.vhost_max",
901-
[{datatype, [{atom, infinity}, integer]}]}.
901+
[{datatype, [{atom, infinity}, integer]}, {validators, ["non_negative_integer"]}]}.
902902

903903
{translation, "rabbit.vhost_max",
904904
fun(Conf) ->

0 commit comments

Comments
 (0)