Fix bad variable interpolation
This commit is contained in:
parent
be9f1e8636
commit
26b1f531e9
|
@ -200,7 +200,7 @@ class VMInstance(object):
|
||||||
self.this_node.domain_list.append(self.domuuid)
|
self.this_node.domain_list.append(self.domuuid)
|
||||||
# Push the change up to Zookeeper
|
# Push the change up to Zookeeper
|
||||||
self.zkhandler.write([
|
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:
|
except Exception as e:
|
||||||
self.logger.out('Error adding domain to list: {}'.format(e), state='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)
|
self.this_node.domain_list.remove(self.domuuid)
|
||||||
# Push the change up to Zookeeper
|
# Push the change up to Zookeeper
|
||||||
self.zkhandler.write([
|
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:
|
except Exception as e:
|
||||||
self.logger.out('Error removing domain from list: {}'.format(e), state='e')
|
self.logger.out('Error removing domain from list: {}'.format(e), state='e')
|
||||||
|
|
Loading…
Reference in New Issue