Fix error message to reflect command.

This commit is contained in:
Mirah Gary 2025-03-04 10:57:28 +01:00
parent dc0d4735c2
commit 34ef4c4e6a
No known key found for this signature in database
GPG Key ID: D2A9541CC9C1A90B
1 changed files with 1 additions and 1 deletions

View File

@ -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}}