One extra bracket
This commit is contained in:
parent
53e625e1a5
commit
26d7c3e27b
|
@ -103,7 +103,7 @@ class NodeInstance():
|
||||||
target_hypervisor = hypervisor
|
target_hypervisor = hypervisor
|
||||||
|
|
||||||
if least_host == None:
|
if least_host == None:
|
||||||
print('>>> Failed to find migration target for VM "{}"; shutting down.'.format(dom_uuid)))
|
print('>>> Failed to find migration target for VM "{}"; shutting down.'.format(dom_uuid))
|
||||||
transaction = self.zk.transaction()
|
transaction = self.zk.transaction()
|
||||||
transaction.set_data('/domains/{}/state'.format(dom_uuid), 'shutdown'.encode('ascii'))
|
transaction.set_data('/domains/{}/state'.format(dom_uuid), 'shutdown'.encode('ascii'))
|
||||||
transaction.commit()
|
transaction.commit()
|
||||||
|
|
Loading…
Reference in New Issue