Wrong variable name
This commit is contained in:
parent
19561faa5e
commit
f6b71efb1b
|
@ -127,7 +127,7 @@ class NodeInstance():
|
||||||
if last_hypervisor != self.name:
|
if last_hypervisor != self.name:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
print('>>> Setting unmigration for VM "{}".'.format(domain))
|
print('>>> Setting unmigration for VM "{}".'.format(dom_uuid))
|
||||||
transaction = self.zk.transaction()
|
transaction = self.zk.transaction()
|
||||||
transaction.set_data('/domains/{}/state'.format(dom_uuid), 'migrate'.encode('ascii'))
|
transaction.set_data('/domains/{}/state'.format(dom_uuid), 'migrate'.encode('ascii'))
|
||||||
transaction.set_data('/domains/{}/hypervisor'.format(dom_uuid), self.name.encode('ascii'))
|
transaction.set_data('/domains/{}/hypervisor'.format(dom_uuid), self.name.encode('ascii'))
|
||||||
|
|
Loading…
Reference in New Issue