summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Sébastien Pédron <jean-sebastien@rabbitmq.com>2020-10-05 11:47:40 +0200
committerJean-Sébastien Pédron <jean-sebastien@rabbitmq.com>2020-10-05 11:47:40 +0200
commitb983ea6e9c444ecfa215871dce250c8562725e0f (patch)
treece9a48c8d214e87e10d8c4457b957e49444a30e5
parent31ec214e1a44d348bde09e78b73269b469a32359 (diff)
downloadrabbitmq-server-git-b983ea6e9c444ecfa215871dce250c8562725e0f.tar.gz
rabbit_amqqueue: Broaden the scope of the "cannot declare because disabled feature flag" error message
Initially, there was only the `quorum_queue` feature flag which made a new queue type available. Now we also have stream queues and they have their own feature flag. Therefore, rephrase the error message to not be quorum-queue-specific.
-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 b4bee8068f..02d37350b4 100644
--- a/src/rabbit_amqqueue.erl
+++ b/src/rabbit_amqqueue.erl
@@ -233,7 +233,7 @@ declare(QueueName = #resource{virtual_host = VHost}, Durable, AutoDelete, Args,
rabbit_misc:protocol_error(
internal_error,
"Cannot declare a queue '~s' of type '~s' on node '~s': "
- "the 'quorum_queue' feature flag is disabled",
+ "the corresponding feature flag is disabled",
[rabbit_misc:rs(QueueName), Type, Node])
end.