Skip to content

Commit 822453f

Browse files
committed
rabbit_maintenance: dialyzer fix
1 parent 669a97a commit 822453f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deps/rabbit/src/rabbit_maintenance.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ transfer_leadership_of_quorum_queues(_TransferCandidates) ->
196196
Queues = rabbit_amqqueue:list_local_leaders(),
197197
?LOG_INFO("Will transfer leadership of ~b quorum queues with current leader on this node",
198198
[length(Queues)]),
199-
[begin
199+
_ = [begin
200200
Name = amqqueue:get_name(Q),
201201
?LOG_DEBUG("Will trigger a leader election for local quorum queue ~ts",
202202
[rabbit_misc:rs(Name)]),
@@ -249,7 +249,7 @@ stop_local_quorum_queue_followers() ->
249249
Queues = rabbit_amqqueue:list_local_followers(),
250250
?LOG_INFO("Will stop local follower replicas of ~b quorum queues on this node",
251251
[length(Queues)]),
252-
[begin
252+
_ = [begin
253253
Name = amqqueue:get_name(Q),
254254
?LOG_DEBUG("Will stop a local follower replica of quorum queue ~ts",
255255
[rabbit_misc:rs(Name)]),

0 commit comments

Comments
 (0)