Correct typo in daemon

This commit is contained in:
Joshua Boniface 2019-06-16 19:27:20 -04:00
parent 3ba3c339a7
commit fe654aa5a2
1 changed files with 1 additions and 1 deletions

View File

@ -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'),