Weird little bugt
This commit is contained in:
parent
39dce1cd93
commit
3c35142523
|
@ -212,7 +212,7 @@ class VMInstance:
|
||||||
self.dom = self.lookupByUUID(self.domuuid)
|
self.dom = self.lookupByUUID(self.domuuid)
|
||||||
print(self.state)
|
print(self.state)
|
||||||
|
|
||||||
if self.dom == None and self.state == 'migrate':
|
if self.dom == None or self.state == 'migrate':
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if self.dom.state()[0] == libvirt.VIR_DOMAIN_RUNNING or self.state != 'migrate':
|
if self.dom.state()[0] == libvirt.VIR_DOMAIN_RUNNING or self.state != 'migrate':
|
||||||
|
|
Loading…
Reference in New Issue