summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Klishin <mklishin@pivotal.io>2018-02-22 18:10:26 +0300
committerMichael Klishin <mklishin@pivotal.io>2018-02-22 18:10:26 +0300
commit2830a7ded7ddb99aa2e53c7f23904f0f7d98e12e (patch)
treedc3e232e9f9294364759d513355183f2c9c70461
parentfdb3e7528431491e5d8718ef65e28c82efeb898b (diff)
downloadrabbitmq-server-git-2830a7ded7ddb99aa2e53c7f23904f0f7d98e12e.tar.gz
Add a validator for net_ticktime
-rw-r--r--priv/schema/rabbit.schema3
1 files changed, 2 insertions, 1 deletions
diff --git a/priv/schema/rabbit.schema b/priv/schema/rabbit.schema
index 77d0fa89d8..9b51941483 100644
--- a/priv/schema/rabbit.schema
+++ b/priv/schema/rabbit.schema
@@ -1155,7 +1155,8 @@ end}.
% ==========================
{mapping, "net_ticktime", "kernel.net_ticktime",[
- {datatype, [integer]}
+ {datatype, [integer]},
+ {validators, ["non_negative_integer"]}
]}.
% ===============================