From 667a1218ef99734275d4a97f238b0f2ca3c29030 Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Sat, 29 Sep 2018 01:51:37 -0400 Subject: [PATCH] Fix up the wrong key --- router-daemon/pvcrd/RouterInstance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/router-daemon/pvcrd/RouterInstance.py b/router-daemon/pvcrd/RouterInstance.py index 50a5687f..664b36b4 100644 --- a/router-daemon/pvcrd/RouterInstance.py +++ b/router-daemon/pvcrd/RouterInstance.py @@ -125,7 +125,7 @@ class RouterInstance(): def set_primary(self): result = zkhandler.writedata(self.zk_conn, { - '/routers/primary': self.name, + '/routers': self.name, '/routers/{}/networkstate'.format(self.name): 'primary', }) if not result: