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:
Joshua Boniface 2021-07-05 09:53:51 -04:00
parent e44f3d623e
commit 21a1a7da9e
1 changed files with 1 additions and 1 deletions

View File

@ -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'