summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2015-03-10 11:41:41 +0000
committerSimon MacMullen <simon@rabbitmq.com>2015-03-10 11:41:41 +0000
commit105ebce7b6de3655cf1324f11f1efb81e93e3eed (patch)
treebc345123e16642c541feeeabe2d0cddd6a2cb73b
parent2e5e31494938dea19b2827c5252f7ac2ce9c2d8b (diff)
downloadrabbitmq-server-git-105ebce7b6de3655cf1324f11f1efb81e93e3eed.tar.gz
Rename things to be slightly clearer
-rw-r--r--src/rabbit_node_monitor.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rabbit_node_monitor.erl b/src/rabbit_node_monitor.erl
index 8de6b64511..0f00e66e55 100644
--- a/src/rabbit_node_monitor.erl
+++ b/src/rabbit_node_monitor.erl
@@ -732,9 +732,9 @@ handle_dead_rabbit(Node, State = #state{partitions = Partitions,
%% that we do not attempt to deal with individual (other) partitions
%% going away. It's only safe to forget anything about partitions when
%% there are no partitions.
- NotRunningRabbit = Partitions -- alive_rabbit_nodes(),
- InSync = rabbit_mnesia:cluster_nodes(running),
- Partitions1 = case Partitions -- NotRunningRabbit -- InSync of
+ Down = Partitions -- alive_rabbit_nodes(),
+ NoLongerPartitioned = rabbit_mnesia:cluster_nodes(running),
+ Partitions1 = case Partitions -- Down -- NoLongerPartitioned of
[] -> [];
_ -> Partitions
end,