Fix
This commit is contained in:
parent
9ab02318c6
commit
963d582c24
1
pvcd.py
1
pvcd.py
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue