diff --git a/node-daemon/pvcd/Daemon.py b/node-daemon/pvcd/Daemon.py index b029edba..c970b58e 100644 --- a/node-daemon/pvcd/Daemon.py +++ b/node-daemon/pvcd/Daemon.py @@ -533,7 +533,7 @@ if zk_conn.exists('/nodes/{}'.format(myhostname)): else: logger.out("Node is " + logger.fmt_red + "absent" + logger.fmt_end + " in Zookeeper; adding new node", state='i') keepalive_time = int(time.time()) - zkhander.writedata(zk_conn, { + zkhandler.writedata(zk_conn, { '/nodes/{}'.format(myhostname): config['daemon_mode'].encode('ascii'), # Basic state information '/nodes/{}/daemonmode'.format(myhostname): config['daemon_mode'].encode('ascii'),