Use correct wording of "shut down"
This commit is contained in:
parent
78780039de
commit
0e05ce8b07
|
@ -405,7 +405,7 @@ def shutdown_vm(zk_conn, domain, wait=False):
|
||||||
if wait:
|
if wait:
|
||||||
while zkhandler.readdata(zk_conn, '/domains/{}/state'.format(dom_uuid)) == 'shutdown':
|
while zkhandler.readdata(zk_conn, '/domains/{}/state'.format(dom_uuid)) == 'shutdown':
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
retmsg = 'Shutdown VM "{}"'.format(domain)
|
retmsg = 'Shut down VM "{}"'.format(domain)
|
||||||
|
|
||||||
return True, retmsg
|
return True, retmsg
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue