summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_nodes.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_nodes.erl b/src/rabbit_nodes.erl
index 7757519aab..d209798575 100644
--- a/src/rabbit_nodes.erl
+++ b/src/rabbit_nodes.erl
@@ -148,7 +148,7 @@ total_count() -> length(rabbit_mnesia:cluster_nodes(all)).
-spec is_single_node_cluster() -> boolean().
is_single_node_cluster() ->
- total_count() =:= 1 andalso running_count() =:= 1.
+ total_count() =:= 1.
-spec await_running_count(integer(), integer()) -> 'ok' | {'error', atom()}.
await_running_count(TargetCount, Timeout) ->