Correct bad bracket type
This commit is contained in:
parent
359886e335
commit
b2cc444024
|
@ -703,11 +703,11 @@ def get_list_pool(zk_conn, limit, is_fuzzy=True):
|
||||||
limit = limit + '.*'
|
limit = limit + '.*'
|
||||||
|
|
||||||
if re.match(limit, pool):
|
if re.match(limit, pool):
|
||||||
pool_list.append(getPoolInformation[zk_conn, pool])
|
pool_list.append(getPoolInformation(zk_conn, pool))
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
return False, 'Regex Error: {}'.format(e)
|
return False, 'Regex Error: {}'.format(e)
|
||||||
else:
|
else:
|
||||||
pool_list.append(getPoolInformation[zk_conn, pool])
|
pool_list.append(getPoolInformation(zk_conn, pool))
|
||||||
|
|
||||||
return True, pool_list
|
return True, pool_list
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue