diff options
| author | Michael Klishin <mklishin@pivotal.io> | 2016-03-22 14:58:10 +0300 |
|---|---|---|
| committer | Michael Klishin <mklishin@pivotal.io> | 2016-03-22 14:58:10 +0300 |
| commit | 0982087000eab7fbaffb400c478e9c3b44721f5e (patch) | |
| tree | 431d56a6cbc9bcde4f6de8d4177cfcd52fd10302 | |
| parent | 67ff51a1ff5149482a2dcbcb0f8c5c31dd5f0129 (diff) | |
| download | rabbitmq-server-git-0982087000eab7fbaffb400c478e9c3b44721f5e.tar.gz | |
Correct validator description
| -rw-r--r-- | priv/schema/rabbitmq.schema | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/priv/schema/rabbitmq.schema b/priv/schema/rabbitmq.schema index bf6d7f487e..8705428437 100644 --- a/priv/schema/rabbitmq.schema +++ b/priv/schema/rabbitmq.schema @@ -15,7 +15,7 @@ %% For example, to listen only on localhost for both IPv4 and IPv6: %% %% {tcp_listeners, [{"127.0.0.1", 5672}, -%% {"::1", 5672}]}, +%% {"[::1]", 5672}]}, {mapping, "listeners.tcp", "rabbit.tcp_listeners",[ {datatype, {enum, [none]}} @@ -954,7 +954,7 @@ fun(File) -> element(1, ReadFile) == ok end}. -{validator, "is_ip", "String is not IP", +{validator, "is_ip", "string is a valid IP address", fun(IpStr) -> Res = inet:parse_address(IpStr), element(1, Res) == ok |
