summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@rabbitmq.com>2011-05-25 13:32:06 +0100
committerMatthew Sackman <matthew@rabbitmq.com>2011-05-25 13:32:06 +0100
commit36f68e916ff7319e027b7545d987ecd920284324 (patch)
tree2154e1b594541f46beef08730cd5ab6b56b3a2f7
parent6a3be4ce63e9e92f47e8299d4282ab111818315a (diff)
downloadrabbitmq-server-36f68e916ff7319e027b7545d987ecd920284324.tar.gz
enforce equivalence checking of x-mirror arg
-rw-r--r--src/rabbit_amqqueue.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_amqqueue.erl b/src/rabbit_amqqueue.erl
index 268199e5..f9e84443 100644
--- a/src/rabbit_amqqueue.erl
+++ b/src/rabbit_amqqueue.erl
@@ -300,7 +300,7 @@ with_exclusive_access_or_die(Name, ReaderPid, F) ->
assert_args_equivalence(#amqqueue{name = QueueName, arguments = Args},
RequiredArgs) ->
rabbit_misc:assert_args_equivalence(Args, RequiredArgs, QueueName,
- [<<"x-expires">>]).
+ [<<"x-expires">>, <<"x-mirror">>]).
check_declare_arguments(QueueName, Args) ->
[case Fun(rabbit_misc:table_lookup(Args, Key)) of