Skip to content

Commit 09c8aac

Browse files
committed
minor: Delete duplicate "queue" in QQ deletion error message
`rabbit_misc:rs/1` formats as "queue '<name>' in vhost '<vhost>'" so the extra "queue" can be removed.
1 parent edd8fbc commit 09c8aac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deps/rabbit/src/rabbit_quorum_queue.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -825,8 +825,8 @@ delete(Q, _IfUnused, _IfEmpty, ActingUser) when ?amqqueue_is_quorum(Q) ->
825825
{ok, ReadyMsgs};
826826
{error, timeout} ->
827827
{protocol_error, internal_error,
828-
"The operation to delete queue ~ts from the metadata "
829-
"store timed out", [rabbit_misc:rs(QName)]}
828+
"The operation to delete ~ts from the metadata store "
829+
"timed out", [rabbit_misc:rs(QName)]}
830830
end;
831831
{error, {no_more_servers_to_try, Errs}} ->
832832
case lists:all(fun({{error, noproc}, _}) -> true;

0 commit comments

Comments
 (0)