summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Klishin <michael@clojurewerkz.org>2016-08-02 09:36:57 -0700
committerMichael Klishin <michael@clojurewerkz.org>2016-08-02 09:36:57 -0700
commit8685e140cbcc1a94af3a6bd34e62e9ce41a57878 (patch)
tree9d1053afabb74c9314e771659faf3cc761c69e69 /src
parent2ccc749a28a643e5020a769d48b950d17d0fda56 (diff)
parentea4e59ee3018bd2824b003ac8f9db3e59c9d3413 (diff)
downloadrabbitmq-server-git-8685e140cbcc1a94af3a6bd34e62e9ce41a57878.tar.gz
Merge branch 'stable'
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_queue_location_validator.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rabbit_queue_location_validator.erl b/src/rabbit_queue_location_validator.erl
index 44394a962c..c5aad50e64 100644
--- a/src/rabbit_queue_location_validator.erl
+++ b/src/rabbit_queue_location_validator.erl
@@ -26,7 +26,9 @@
{mfa, {rabbit_registry, register,
[policy_validator,
<<"queue-master-locator">>,
- ?MODULE]}}]}).
+ ?MODULE]}},
+ {requires, rabbit_registry},
+ {enables, recovery}]}).
validate_policy(KeyList) ->
case proplists:lookup(<<"queue-master-locator">> , KeyList) of