parent
c40c410033
commit
fe53a63039
2
pvcd.py
2
pvcd.py
|
@ -64,7 +64,7 @@ s_domain = dict()
|
||||||
node_list = []
|
node_list = []
|
||||||
|
|
||||||
@zk.ChildrenWatch('/nodes')
|
@zk.ChildrenWatch('/nodes')
|
||||||
def updatenodes(new_node_list, stat):
|
def updatenodes(new_node_list):
|
||||||
global node_list
|
global node_list
|
||||||
node_list = new_node_list
|
node_list = new_node_list
|
||||||
print('Node list: %s' % node_list)
|
print('Node list: %s' % node_list)
|
||||||
|
|
Loading…
Reference in New Issue