Fix missing format string

This commit is contained in:
Joshua Boniface 2019-07-26 20:54:52 -04:00
parent 68ca493b3b
commit a5ed776692
1 changed files with 1 additions and 1 deletions

View File

@ -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