Fix the same bug in a different place

This commit is contained in:
Joshua Boniface 2019-07-26 23:28:57 -04:00
parent a5ed776692
commit e2f153c3b1
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ def ready_node(zk_conn, node, wait):
# Wait cannot be triggered from the API # Wait cannot be triggered from the API
if wait: if wait:
while zkhandler.readdata(zk_conn, '/nodes/{}/domainstate') == 'unflush': while zkhandler.readdata(zk_conn, '/nodes/{}/domainstate'.format(node)) == 'unflush':
time.sleep(1) time.sleep(1)
return True, retmsg return True, retmsg