From 34ef4c4e6a638e33c8f09383180b51b7afe9730e Mon Sep 17 00:00:00 2001 From: Mirah Gary Date: Tue, 4 Mar 2025 10:57:28 +0100 Subject: [PATCH] Fix error message to reflect command. --- .../lib/rabbitmq/cli/queues/commands/delete_member_command.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/rabbitmq_cli/lib/rabbitmq/cli/queues/commands/delete_member_command.ex b/deps/rabbitmq_cli/lib/rabbitmq/cli/queues/commands/delete_member_command.ex index 6837a9237bbb..11538005a82f 100644 --- a/deps/rabbitmq_cli/lib/rabbitmq/cli/queues/commands/delete_member_command.ex +++ b/deps/rabbitmq_cli/lib/rabbitmq/cli/queues/commands/delete_member_command.ex @@ -24,7 +24,7 @@ defmodule RabbitMQ.CLI.Queues.Commands.DeleteMemberCommand do to_atom(node) ]) do {:error, :classic_queue_not_supported} -> - {:error, "Cannot add members to a classic queue"} + {:error, "Cannot delete members from a classic queue"} {:error, :not_found} -> {:error, {:not_found, :queue, vhost, name}}