Skip to content

Commit a727682

Browse files
committed
Fix call to get_nodes
1 parent 60b5a13 commit a727682

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbit/src/rabbit_quorum_queue.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2392,7 +2392,7 @@ transfer_leadership(_CandidateNodes) ->
23922392
%% wait for leader elections before processing next chunk of queues
23932393
[begin
23942394
{RaName, LeaderNode} = amqqueue:get_pid(Q),
2395-
MemberNodes = lists:delete(LeaderNode, amqqueue:get_nodes(Q)),
2395+
MemberNodes = lists:delete(LeaderNode, rabbit_queue_type:get_nodes(Q)),
23962396
%% we don't do any explicit error handling here as it is more
23972397
%% important to make progress
23982398
_ = lists:any(fun (N) ->

0 commit comments

Comments
 (0)