From b2cc444024325c0626313ffd3b042fc86260a9df Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Mon, 8 Jul 2019 21:40:06 -0400 Subject: [PATCH] Correct bad bracket type --- client-common/ceph.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client-common/ceph.py b/client-common/ceph.py index 2713b77c..be94f623 100644 --- a/client-common/ceph.py +++ b/client-common/ceph.py @@ -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