From 6912bd7a2a9415b1e2dbc6e87bdaa58f5040aa6f Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sat, 7 Nov 2020 18:01:26 -0500 Subject: [PATCH] Add missing return statement for vm_modify --- daemon-common/vm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon-common/vm.py b/daemon-common/vm.py index bb9191bf..c3e076b8 100644 --- a/daemon-common/vm.py +++ b/daemon-common/vm.py @@ -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):