Fix up the wrong key

This commit is contained in:
Joshua Boniface 2018-09-29 01:51:37 -04:00
parent a4bece898e
commit 667a1218ef
1 changed files with 1 additions and 1 deletions

View File

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