diff --git a/router-daemon/pvcrd/Daemon.py b/router-daemon/pvcrd/Daemon.py index 04dca1ce..0802d513 100644 --- a/router-daemon/pvcrd/Daemon.py +++ b/router-daemon/pvcrd/Daemon.py @@ -232,13 +232,6 @@ this_router = t_router[myhostname] update_zookeeper = this_router.update_zookeeper update_zookeeper() -@zk_conn.DataWatch('/routers') -def updateprimary(data, meta): - if data == myhostname: - this_router.set_primary() - else: - this_router.set_secondary() - @zk_conn.ChildrenWatch('/networks') def updatenetworks(new_network_list): global network_list