diff options
author | Matthias Radestock <matthias@rabbitmq.com> | 2012-09-24 13:56:57 +0100 |
---|---|---|
committer | Matthias Radestock <matthias@rabbitmq.com> | 2012-09-24 13:56:57 +0100 |
commit | 72593df8c7591875e4ef66d29e93dc7488a9278f (patch) | |
tree | 32ff1b6f6bf8ebf518342d187321ac88c9497ee2 | |
parent | 01f162d8d20fc5f17c68928f9a891193879c4dd8 (diff) | |
download | rabbitmq-server-72593df8c7591875e4ef66d29e93dc7488a9278f.tar.gz |
cosmetic
-rw-r--r-- | src/rabbit_mnesia.erl | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/rabbit_mnesia.erl b/src/rabbit_mnesia.erl index 0103be7f..93b8fed5 100644 --- a/src/rabbit_mnesia.erl +++ b/src/rabbit_mnesia.erl @@ -1022,11 +1022,12 @@ change_extra_db_nodes(ClusterNodes0, CheckOtherNodes) -> Nodes end. -%% We're not using `mnesia:system_info(running_db_nodes)' directly because if -%% the node is a RAM node it won't know about other nodes when mnesia is stopped +%% We're not using `mnesia:system_info(running_db_nodes)' directly +%% because if the node is a RAM node it won't know about other nodes +%% when mnesia is stopped running_nodes(Nodes) -> - {Replies, _BadNodes} = - rpc:multicall(Nodes, rabbit_mnesia, is_running_remote, []), + {Replies, _BadNodes} = rpc:multicall(Nodes, + rabbit_mnesia, is_running_remote, []), [Node || {Running, Node} <- Replies, Running]. is_running_remote() -> {mnesia:system_info(is_running) =:= yes, node()}. |