Remove spurious ZKConnection call
This commit is contained in:
parent
2813fda06c
commit
e5f81b26bf
|
@ -172,7 +172,6 @@ def get_list(zk_conn, limit):
|
||||||
if re.match(limit, node) == None:
|
if re.match(limit, node) == None:
|
||||||
continue
|
continue
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
common.stopZKConnection(zk_conn)
|
|
||||||
return False, 'Regex Error: {}'.format(e)
|
return False, 'Regex Error: {}'.format(e)
|
||||||
node_list.append(node)
|
node_list.append(node)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue