Add missing return statement for vm_modify

This commit is contained in:
Joshua Boniface 2020-11-07 18:01:26 -05:00
parent 03d4be79b7
commit 6912bd7a2a
1 changed files with 1 additions and 1 deletions

View File

@ -285,7 +285,7 @@ def modify_vm(zk_conn, domain, restart, new_vm_config):
zkhandler.writedata(zk_conn, {'/domains/{}/state'.format(dom_uuid): 'restart'}) zkhandler.writedata(zk_conn, {'/domains/{}/state'.format(dom_uuid): 'restart'})
lock.release() lock.release()
return True, '' return True, 'Successfully modified configuration of VM "{}".'.format(domain)
def dump_vm(zk_conn, domain): def dump_vm(zk_conn, domain):