Remove debug text
This commit is contained in:
@ -45,13 +45,11 @@ class VMInstance:
|
||||
# Watch for changes to the hypervisor field in Zookeeper
|
||||
@zk.DataWatch('/domains/{}/hypervisor'.format(self.domuuid))
|
||||
def watch_hypervisor(data, stat, event=""):
|
||||
print(data.decode('ascii'))
|
||||
self.manage_vm_state()
|
||||
|
||||
# Watch for changes to the state field in Zookeeper
|
||||
@zk.DataWatch('/domains/{}/state'.format(self.domuuid))
|
||||
def watch_state(data, stat, event=""):
|
||||
print(data.decode('ascii'))
|
||||
self.manage_vm_state()
|
||||
|
||||
# Get data functions
|
||||
|
Reference in New Issue
Block a user