From d1331401d8352691816e81b4e6727e480ad33778 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sun, 5 Jan 2020 15:28:08 -0500 Subject: [PATCH] Correct tense post-wait --- client-common/node.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client-common/node.py b/client-common/node.py index fb6b9fb7..ad8ffc9f 100644 --- a/client-common/node.py +++ b/client-common/node.py @@ -159,6 +159,7 @@ def flush_node(zk_conn, node, wait): if wait: while zkhandler.readdata(zk_conn, '/nodes/{}/domainstate'.format(node)) == 'flush': time.sleep(1) + retmsg = 'Flushed hypervisor {} of running VMs.'.format(node) return True, retmsg @@ -178,6 +179,7 @@ def ready_node(zk_conn, node, wait): if wait: while zkhandler.readdata(zk_conn, '/nodes/{}/domainstate'.format(node)) == 'unflush': time.sleep(1) + retmsg = 'Restored hypervisor {} to active service.'.format(node) return True, retmsg