From 142743b2c07103c5f2eb5acdc39b0dffb7c964ca Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Wed, 5 Aug 2020 10:34:30 -0400 Subject: [PATCH] Fix erroneous comma --- 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 20e2c95c..e809c329 100644 --- a/daemon-common/vm.py +++ b/daemon-common/vm.py @@ -477,7 +477,7 @@ def move_vm(zk_conn, domain, target_node, wait=False, force_live=False): if target_node == current_node: last_node = zkhandler.readdata(zk_conn, '/domains/{}/lastnode'.format(dom_uuid)) if last_node: - zkhandler.writedata(zk_conn, {'/domains/{}/lastnode'.format(dom_uuid), ''}) + zkhandler.writedata(zk_conn, {'/domains/{}/lastnode'.format(dom_uuid): ''}) return True, 'Making temporary migration permanent for VM "{}".'.format(domain) return False, 'ERROR: VM "{}" is already running on node "{}".'.format(domain, current_node)