diff --git a/client-common/node.py b/client-common/node.py index b283bbd0..3480c596 100644 --- a/client-common/node.py +++ b/client-common/node.py @@ -157,7 +157,7 @@ def flush_node(zk_conn, node, wait): # Wait cannot be triggered from the API if wait: - while zkhandler.readdata(zk_conn, '/nodes/{}/domainstate') == 'flush': + while zkhandler.readdata(zk_conn, '/nodes/{}/domainstate'.format(node)) == 'flush': time.sleep(1) return True, retmsg