From 21a1a7da9e42e011e829cb316a3c68ee9e9a04ee Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Mon, 5 Jul 2021 09:53:51 -0400 Subject: [PATCH] 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. --- node-daemon/pvcnoded/NodeInstance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node-daemon/pvcnoded/NodeInstance.py b/node-daemon/pvcnoded/NodeInstance.py index d92259fe..b7f9e8c0 100644 --- a/node-daemon/pvcnoded/NodeInstance.py +++ b/node-daemon/pvcnoded/NodeInstance.py @@ -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'