diff options
| author | Matthias Radestock <matthias@rabbitmq.com> | 2012-09-19 15:26:08 +0100 |
|---|---|---|
| committer | Matthias Radestock <matthias@rabbitmq.com> | 2012-09-19 15:26:08 +0100 |
| commit | 8e4055e3e8d543480ac26c7a4550813f39e8e3d5 (patch) | |
| tree | 36cf656c56abd1196b8281d4f99ad9ae02bea395 /src | |
| parent | 0073cf5fdd3b3be0c17d3717251b2aa14be6f8a3 (diff) | |
| download | rabbitmq-server-git-8e4055e3e8d543480ac26c7a4550813f39e8e3d5.tar.gz | |
inline
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_mnesia.erl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/rabbit_mnesia.erl b/src/rabbit_mnesia.erl index c60a30a599..f4ed8db4f5 100644 --- a/src/rabbit_mnesia.erl +++ b/src/rabbit_mnesia.erl @@ -383,7 +383,7 @@ clustered_ram_nodes() -> ordsets:subtract(cluster_status(all), running_clustered_nodes() -> cluster_status(running). running_clustered_disc_nodes() -> - {_, DiscNodes, RunningNodes} = cluster_status(), + {_AllNodes, DiscNodes, RunningNodes} = cluster_status(status), ordsets:intersection(DiscNodes, RunningNodes). %% This function is the actual source of information, since it gets @@ -456,8 +456,6 @@ cluster_status(WhichNodes) -> {ok, Status} = cluster_status(WhichNodes, false), Status. -cluster_status() -> cluster_status(status). - cluster_status_from_mnesia() -> cluster_status(status, true). node_info() -> |
