Skip to content

Commit 0056c4c

Browse files
MirahImagemichaelklishin
authored andcommitted
Fix error message to reflect command.
1 parent e1c38b6 commit 0056c4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbitmq_cli/lib/rabbitmq/cli/queues/commands/delete_member_command.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ defmodule RabbitMQ.CLI.Queues.Commands.DeleteMemberCommand do
2424
to_atom(node)
2525
]) do
2626
{:error, :classic_queue_not_supported} ->
27-
{:error, "Cannot add members to a classic queue"}
27+
{:error, "Cannot delete members from a classic queue"}
2828

2929
{:error, :not_found} ->
3030
{:error, {:not_found, :queue, vhost, name}}

0 commit comments

Comments
 (0)