Revert "Another fun bug"
This reverts commit 80bd9771f3a6b465ee7cd538c7f5139a17c79106.
This commit is contained in:
parent
86cf3a57ee
commit
0b9b803493
@ -59,12 +59,11 @@ class NodeInstance():
|
||||
except AttributeError:
|
||||
self.domain_state = 'unknown'
|
||||
|
||||
if self.name == self.this_node:
|
||||
# toggle state management of this node
|
||||
if self.domain_state == 'flush' and self.inflush == False:
|
||||
self.flush()
|
||||
if self.domain_state == 'unflush' and self.inflush == False:
|
||||
self.unflush()
|
||||
# toggle state management of this node
|
||||
if self.domain_state == 'flush' and self.inflush == False:
|
||||
self.flush()
|
||||
if self.domain_state == 'unflush' and self.inflush == False:
|
||||
self.unflush()
|
||||
|
||||
|
||||
@zk.DataWatch('/nodes/{}/memfree'.format(self.name))
|
||||
|
Loading…
x
Reference in New Issue
Block a user