diff options
author | Emile Joubert <emile@rabbitmq.com> | 2012-10-05 18:20:10 +0100 |
---|---|---|
committer | Emile Joubert <emile@rabbitmq.com> | 2012-10-05 18:20:10 +0100 |
commit | 4e8e0fa18061a09a074e7975fd39a4003cb9b8ca (patch) | |
tree | e9d7beb602f18457b6b1c82591544c38fa235cae /src/rabbit_policy_validator.erl | |
parent | 2754b587b3f913b23fbc5bb34880a6b41c30849d (diff) | |
download | rabbitmq-server-4e8e0fa18061a09a074e7975fd39a4003cb9b8ca.tar.gz |
Updated policy validation
Diffstat (limited to 'src/rabbit_policy_validator.erl')
-rw-r--r-- | src/rabbit_policy_validator.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_policy_validator.erl b/src/rabbit_policy_validator.erl index 3cc02ecc..624c3d54 100644 --- a/src/rabbit_policy_validator.erl +++ b/src/rabbit_policy_validator.erl @@ -21,7 +21,7 @@ -type(validate_results() :: 'ok' | {error, string(), [term()]} | [validate_results()]). --callback validate_policy(binary(), term()) -> validate_results(). +-callback validate_policy([{binary(), term()}]) -> validate_results(). -else. @@ -29,7 +29,7 @@ behaviour_info(callbacks) -> [ - {validate_policy, 2}, + {validate_policy, 1}, ]; behaviour_info(_Other) -> undefined. |