summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.