Add missing return statement for vm_modify
This commit is contained in:
parent
03d4be79b7
commit
6912bd7a2a
|
@ -285,7 +285,7 @@ def modify_vm(zk_conn, domain, restart, new_vm_config):
|
|||
zkhandler.writedata(zk_conn, {'/domains/{}/state'.format(dom_uuid): 'restart'})
|
||||
lock.release()
|
||||
|
||||
return True, ''
|
||||
return True, 'Successfully modified configuration of VM "{}".'.format(domain)
|
||||
|
||||
|
||||
def dump_vm(zk_conn, domain):
|
||||
|
|
Loading…
Reference in New Issue