Merge pull request #13451 from rabbitmq/fix-delete-error

Fix error message to reflect command.

(cherry picked from commit 98dc11fa55)
This commit is contained in:
Mirah Gary 2025-03-04 15:45:49 +01:00 committed by Michael Klishin
parent 8ae9531213
commit 6fbbee4660
No known key found for this signature in database
GPG Key ID: FF4F6501646A9C9A
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}}