Remove extra debugging

This commit is contained in:
2018-06-11 22:50:52 -04:00
parent 48a5a44db4
commit bb1d0c6c5b
2 changed files with 1 additions and 10 deletions

View File

@ -243,15 +243,10 @@ class VMInstance:
ansiiprint.echo('VM state change for "{}": {} {}'.format(self.domuuid, self.state, self.hypervisor), '', 'i')
print('{} got here'.format(self.domuuid))
# Conditional pass one - If we're already doing something, bail out
if self.instart == True or self.instop == True or self.inshutdown == True or self.inmigrate == True or self.inreceive == True:
return 0
print('{} got there'.format(self.domuuid))
print('{} {}'.format(self.domuuid, running))
# VM should be stopped
if running == libvirt.VIR_DOMAIN_RUNNING and self.state == "stop" and self.hypervisor == self.thishypervisor.name:
self.stop_vm()