Correct bad bracket type

This commit is contained in:
Joshua Boniface 2019-07-08 21:40:06 -04:00
parent 359886e335
commit b2cc444024
1 changed files with 2 additions and 2 deletions

View File

@ -703,11 +703,11 @@ def get_list_pool(zk_conn, limit, is_fuzzy=True):
limit = limit + '.*'
if re.match(limit, pool):
pool_list.append(getPoolInformation[zk_conn, pool])
pool_list.append(getPoolInformation(zk_conn, pool))
except Exception as e:
return False, 'Regex Error: {}'.format(e)
else:
pool_list.append(getPoolInformation[zk_conn, pool])
pool_list.append(getPoolInformation(zk_conn, pool))
return True, pool_list