summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Klishin <mklishin@pivotal.io>2020-02-09 15:36:28 +0300
committerGitHub <noreply@github.com>2020-02-09 15:36:28 +0300
commit8b9b87ce1e1e7afafda319e91e88315bb031bd05 (patch)
tree17a1073ce19a1d8771380dc7f643f3864f5cb47c
parent9851a9dd254a1861dc3f0f51255e5f901b189752 (diff)
parent6b8c2478600105f458d16c7bfc38ed6beed94168 (diff)
downloadrabbitmq-server-git-8b9b87ce1e1e7afafda319e91e88315bb031bd05.tar.gz
Merge pull request #2233 from Ayanda-D/handle-absent-alive-queues
Handle and raise protocol error for absent queues assumed to be alive
-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 0a58ae0223..864bce83a0 100644
--- a/src/rabbit_amqqueue.erl
+++ b/src/rabbit_amqqueue.erl
@@ -770,7 +770,7 @@ priv_absent(QueueName, _QPid, _IsDurable, timeout) ->
priv_absent(QueueName, QPid, _IsDurable, alive) ->
rabbit_misc:protocol_error(
not_found,
- "failed to perform operation on ~s: its master replica ~s may be stopping or being demoted",
+ "failed to perform operation on ~s: its master replica ~w may be stopping or being demoted",
[rabbit_misc:rs(QueueName), QPid]).
-spec assert_equivalence