From c464443a9c257d701de15c5f07450780a3b4101a Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 26 Jul 2019 16:44:25 -0400 Subject: [PATCH] Fix snapshot lists --- 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 c47cfd43..4129b221 100644 --- a/client-common/ceph.py +++ b/client-common/ceph.py @@ -1297,11 +1297,11 @@ def get_list_snapshot(zk_conn, pool, volume, limit, is_fuzzy=True): if limit: try: if re.match(limit, snapshot): - snapshot_list.append(getVolumeInformation(zk_conn, pool_name, volume_name, snapshot_name)) + snapshot_list.append(snapshot) except Exception as e: return False, 'Regex Error: {}'.format(e) else: - snapshot_list.append(getVolumeInformation(zk_conn, pool_name, volume_name, snapshot_name)) + snapshot_list.append(snapshot) return True, snapshot_list