Fix up some small bugs
This commit is contained in:
parent
06ddc8df4c
commit
efc8cf3cef
|
@ -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 = {}
|
||||||
|
|
Loading…
Reference in New Issue