Wrong variable name

This commit is contained in:
Joshua Boniface 2018-06-06 21:34:33 -04:00
parent 19561faa5e
commit f6b71efb1b
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ class NodeInstance():
if last_hypervisor != self.name:
continue
print('>>> Setting unmigration for VM "{}".'.format(domain))
print('>>> Setting unmigration for VM "{}".'.format(dom_uuid))
transaction = self.zk.transaction()
transaction.set_data('/domains/{}/state'.format(dom_uuid), 'migrate'.encode('ascii'))
transaction.set_data('/domains/{}/hypervisor'.format(dom_uuid), self.name.encode('ascii'))