Change order

This commit is contained in:
Joshua Boniface 2018-06-16 22:27:27 -04:00
parent 90801858f4
commit 9d4f773b94
1 changed files with 1 additions and 1 deletions

View File

@ -115,10 +115,10 @@ zk.add_listener(zk_listener)
@atexit.register
def cleanup():
update_timer.shutdown()
zk.set('/nodes/{}/daemonstate'.format(myhostname), 'stop'.encode('ascii'))
zk.stop()
zk.close()
update_timer.shutdown()
# Gather useful data about our host for staticdata
# Static data format: 'cpu_count', 'arch', 'os', 'kernel'