Skip to content

Commit 7161a90

Browse files
committed
Fix a couple of typo
1 parent 803bd70 commit 7161a90

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

deps/rabbit/src/rabbit_channel.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1481,7 +1481,7 @@ handle_method(#'basic.consume'{queue = QueueNameBin,
14811481
[rabbit_misc:rs(QueueName)]);
14821482
{error, no_local_stream_replica_available} ->
14831483
rabbit_misc:protocol_error(
1484-
resource_error, "~s does not not have a running local replica",
1484+
resource_error, "~s does not have a running local replica",
14851485
[rabbit_misc:rs(QueueName)])
14861486
end;
14871487
{ok, _} ->

deps/rabbit/src/rabbit_stream_queue.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,7 @@ check_queue_exists_in_local_node(Q) ->
872872
ok;
873873
_ ->
874874
{protocol_error, precondition_failed,
875-
"queue '~s' does not a have a replica on the local node",
875+
"queue '~s' does not have a replica on the local node",
876876
[rabbit_misc:rs(amqqueue:get_name(Q))]}
877877
end.
878878

0 commit comments

Comments
 (0)