Fix up some small bugs

This commit is contained in:
Joshua Boniface 2018-09-24 14:50:31 -04:00
parent 06ddc8df4c
commit efc8cf3cef
1 changed files with 0 additions and 2 deletions

View File

@ -148,7 +148,6 @@ def get_info(zk_conn, node, long_output):
information = getInformationFromNode(zk_conn, node, long_output) information = getInformationFromNode(zk_conn, node, long_output)
if information == None: if information == None:
common.stopZKConnection(zk_conn)
return False, 'ERROR: Could not find a node matching that name.' return False, 'ERROR: Could not find a node matching that name.'
click.echo(information) click.echo(information)
@ -179,7 +178,6 @@ def get_list(zk_conn, limit):
node_list_output = [] node_list_output = []
node_daemon_state = {} node_daemon_state = {}
node_daemon_state = {}
node_domain_state = {} node_domain_state = {}
node_cpu_count = {} node_cpu_count = {}
node_mem_used = {} node_mem_used = {}