diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2013-09-13 16:43:03 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2013-09-13 16:43:03 +0100 |
commit | 6bb0df6a791df386f217f6dc9d6feccda55f239a (patch) | |
tree | ffd5673c41d45b4d4a20fa86c44448e922679a81 | |
parent | 45f1fd2e31667967dd38cf84e32f5c5ace030dfa (diff) | |
download | rabbitmq-server-bug25749.tar.gz |
...and again.bug25749
-rw-r--r-- | src/rabbit_mirror_queue_misc.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_mirror_queue_misc.erl b/src/rabbit_mirror_queue_misc.erl index 4dd19bd3..2a257f91 100644 --- a/src/rabbit_mirror_queue_misc.erl +++ b/src/rabbit_mirror_queue_misc.erl @@ -251,8 +251,8 @@ suggested_queue_nodes(Q, All) -> policy(Policy, Q) -> case rabbit_policy:get(Policy, Q) of - {ok, P} -> P; - _ -> none + undefined -> none; + P -> P end. module(#amqqueue{} = Q) -> |