From 26b1f531e95084fe19d7eb52a1ab4a96b1ed5075 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sun, 13 Jun 2021 14:37:23 -0400 Subject: [PATCH] Fix bad variable interpolation --- node-daemon/pvcnoded/VMInstance.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node-daemon/pvcnoded/VMInstance.py b/node-daemon/pvcnoded/VMInstance.py index 6eeda7ba..2d93442f 100644 --- a/node-daemon/pvcnoded/VMInstance.py +++ b/node-daemon/pvcnoded/VMInstance.py @@ -200,7 +200,7 @@ class VMInstance(object): self.this_node.domain_list.append(self.domuuid) # Push the change up to Zookeeper self.zkhandler.write([ - (('node.running_domains', self.this_node_name), ' '.join(self.this_node.domain_list)) + (('node.running_domains', self.this_node.name), ' '.join(self.this_node.domain_list)) ]) except Exception as e: self.logger.out('Error adding domain to list: {}'.format(e), state='e') @@ -212,7 +212,7 @@ class VMInstance(object): self.this_node.domain_list.remove(self.domuuid) # Push the change up to Zookeeper self.zkhandler.write([ - (('node.running_domains', self.this_node_name), ' '.join(self.this_node.domain_list)) + (('node.running_domains', self.this_node.name), ' '.join(self.this_node.domain_list)) ]) except Exception as e: self.logger.out('Error removing domain from list: {}'.format(e), state='e')