summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_mirror_queue_coordinator.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_mirror_queue_coordinator.erl b/src/rabbit_mirror_queue_coordinator.erl
index 00ef72ac74..072de5b2f2 100644
--- a/src/rabbit_mirror_queue_coordinator.erl
+++ b/src/rabbit_mirror_queue_coordinator.erl
@@ -341,8 +341,8 @@ handle_call(get_gm, _From, State = #state { gm = GM }) ->
handle_cast({gm_deaths, Deaths},
State = #state { q = #amqqueue { name = QueueName } }) ->
case rabbit_mirror_queue_misc:remove_from_queue(QueueName, Deaths) of
- {ok, Pid, OldPid, DeadPids} when node(Pid) =:= node() ->
- rabbit_mirror_queue_misc:report_deaths(true, QueueName, OldPid,
+ {ok, Pid, Pid, DeadPids} when node(Pid) =:= node() ->
+ rabbit_mirror_queue_misc:report_deaths(true, QueueName, Pid,
DeadPids),
noreply(State);
{error, not_found} ->