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

Fix error message to reflect command.
This commit is contained in:
Mirah Gary 2025-03-04 15:45:49 +01:00 committed by GitHub
commit 98dc11fa55
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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}}