diff options
| -rw-r--r-- | src/rabbit_queue_location_validator.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_queue_location_validator.erl b/src/rabbit_queue_location_validator.erl index 2638b79a59..1c2c0e8d42 100644 --- a/src/rabbit_queue_location_validator.erl +++ b/src/rabbit_queue_location_validator.erl @@ -34,7 +34,7 @@ validate_policy(KeyList) -> case proplists:lookup(<<"queue-master-locator">> , KeyList) of {_, Strategy} -> case validate_strategy(Strategy) of - {error, _} = Er -> Er; + {error, _, _} = Er -> Er; _ -> ok end; _ -> {error, "queue-master-locator undefined"} |
