Fix the same bug in a different place
This commit is contained in:
parent
a5ed776692
commit
e2f153c3b1
|
@ -176,7 +176,7 @@ def ready_node(zk_conn, node, wait):
|
|||
|
||||
# Wait cannot be triggered from the API
|
||||
if wait:
|
||||
while zkhandler.readdata(zk_conn, '/nodes/{}/domainstate') == 'unflush':
|
||||
while zkhandler.readdata(zk_conn, '/nodes/{}/domainstate'.format(node)) == 'unflush':
|
||||
time.sleep(1)
|
||||
|
||||
return True, retmsg
|
||||
|
|
Loading…
Reference in New Issue