diff --git a/client-common/node.py b/client-common/node.py index 3480c596..68d2af9a 100644 --- a/client-common/node.py +++ b/client-common/node.py @@ -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