Fix bad schema reference
Not sure how this didn't cause an issue until now, but the wrong key path was used and this was getting unexpected data with the newly-added version string instead of the proper mode string.
This commit is contained in:
parent
e44f3d623e
commit
21a1a7da9e
|
@ -38,7 +38,7 @@ class NodeInstance(object):
|
|||
# Which node is primary
|
||||
self.primary_node = None
|
||||
# States
|
||||
self.daemon_mode = self.zkhandler.read(('node.mode.daemon', self.name))
|
||||
self.daemon_mode = self.zkhandler.read(('node.mode', self.name))
|
||||
self.daemon_state = 'stop'
|
||||
self.router_state = 'client'
|
||||
self.domain_state = 'ready'
|
||||
|
|
Loading…
Reference in New Issue