summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmile Joubert <emile@rabbitmq.com>2012-10-12 10:27:15 +0100
committerEmile Joubert <emile@rabbitmq.com>2012-10-12 10:27:15 +0100
commit44d3986d64d5db6db9d58824c08f538116c741b2 (patch)
treeee5e67a12293090dbc24fd892a100674384da6d1
parent83219fa0a4dfd859d0a1b67d6ad669c19a92f248 (diff)
downloadrabbitmq-server-git-44d3986d64d5db6db9d58824c08f538116c741b2.tar.gz
Duplicate duplicate detection
-rw-r--r--src/rabbit_mirror_queue_misc.erl2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/rabbit_mirror_queue_misc.erl b/src/rabbit_mirror_queue_misc.erl
index 95d54d716d..f596e4040d 100644
--- a/src/rabbit_mirror_queue_misc.erl
+++ b/src/rabbit_mirror_queue_misc.erl
@@ -352,8 +352,6 @@ validate_policy(TagList) ->
fun (N) -> N == 1 end,
"ha-params must be supplied with one number "
"when ha-mode=exactly");
- [_, _|_] ->
- {error, "ha-mode may appear at most once", []};
[Other] ->
{error, "~p is not a valid ha-mode value", [Other]}
end.