From 70268cc15420f023c481c496c30f6773e2d540fe Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Thu, 31 May 2018 23:38:33 -0400 Subject: [PATCH] Fix bug in node report --- pvcd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pvcd.py b/pvcd.py index 5ff00519..67d7cfb9 100755 --- a/pvcd.py +++ b/pvcd.py @@ -75,12 +75,12 @@ def updatenodes(new_node_list): for node in node_list: if node in t_node: t_node[node].updatenodelist(node_list) - node_status = t_node[node].getstatus() else: t_node[node] = NodeInstance.NodeInstance(node, node_list, zk); if t_node[node].name == myhostname: t_node[node].start() + node_status = t_node[node].getstatus() if node_status == 'start': active_node_list.append(t_node[node].getname()) elif node_status == 'flush':