This commit is contained in:
Joshua Boniface 2018-06-01 00:42:29 -04:00
parent 9ab02318c6
commit 963d582c24
1 changed files with 1 additions and 0 deletions

View File

@ -80,6 +80,7 @@ def updatenodes(new_node_list):
t_node[node] = NodeInstance.NodeInstance(node, node_list, zk); t_node[node] = NodeInstance.NodeInstance(node, node_list, zk);
if node == myhostname: if node == myhostname:
t_node[node].start() t_node[node].start()
time.sleep(0.5)
node_state = t_node[node].getstate() node_state = t_node[node].getstate()
print(node_state) print(node_state)