summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rabbit_vm.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_vm.erl b/src/rabbit_vm.erl
index cf4a23d336..34ba6bc111 100644
--- a/src/rabbit_vm.erl
+++ b/src/rabbit_vm.erl
@@ -183,7 +183,7 @@ queue_sups() ->
quorum_sups() ->
%% TODO: in the future not all ra servers may be queues and we needs
%% some way to filter this
- [ra_server_sup].
+ [Pid || {_, Pid, _, _} <- supervisor:which_children(ra_server_sup_sup)].
msg_stores() ->
all_vhosts_children(msg_store_transient)