summaryrefslogtreecommitdiff
path: root/src/rabbit_direct.erl
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2011-08-16 16:30:31 +0100
committerSimon MacMullen <simon@rabbitmq.com>2011-08-16 16:30:31 +0100
commit9de870a60bf6005339b818ed667b3d8cfabf9d5b (patch)
tree9e291fcd14100a124c92f328319ff2e7642dc6c0 /src/rabbit_direct.erl
parent40850c3340ddf25efdf93a6a40631f7f8baf9071 (diff)
downloadrabbitmq-server-9de870a60bf6005339b818ed667b3d8cfabf9d5b.tar.gz
Don't have misc depend on mnesia.
Diffstat (limited to 'src/rabbit_direct.erl')
-rw-r--r--src/rabbit_direct.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rabbit_direct.erl b/src/rabbit_direct.erl
index 6d06d146..9c42552a 100644
--- a/src/rabbit_direct.erl
+++ b/src/rabbit_direct.erl
@@ -63,7 +63,8 @@ list_local() ->
pg_local:get_members(rabbit_direct).
list() ->
- rabbit_misc:append_rpc_all_nodes(rabbit_direct, list_local, []).
+ rabbit_misc:append_rpc_all_nodes(rabbit_mnesia:running_clustered_nodes(),
+ rabbit_direct, list_local, []).
%%----------------------------------------------------------------------------