summaryrefslogtreecommitdiff
path: root/src/rabbit_mirror_queue_misc.erl
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
commitcb49b58057ad6d75573a7409b118bf141f9b6b43 (patch)
treeee5e67a12293090dbc24fd892a100674384da6d1 /src/rabbit_mirror_queue_misc.erl
parent1b70aae6aadbc36641b3362d79f0cfcb8cc6a723 (diff)
downloadrabbitmq-server-cb49b58057ad6d75573a7409b118bf141f9b6b43.tar.gz
Duplicate duplicate detection
Diffstat (limited to 'src/rabbit_mirror_queue_misc.erl')
-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 95d54d71..f596e404 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.