Support listing of snapshots

This commit is contained in:
2019-06-19 15:15:17 -04:00
parent 0f15e7cda5
commit 5d4ecafb03
2 changed files with 43 additions and 153 deletions

View File

@ -1471,7 +1471,7 @@ def ceph_volume_snapshot_list(pool, volume, limit):
"""
zk_conn = pvc_common.startZKConnection(zk_host)
retcode, retmsg = pvc_ceph.get_list_snapshot(zk_conn, pool, snapshot, limit)
retcode, retmsg = pvc_ceph.get_list_snapshot(zk_conn, pool, volume, limit)
cleanup(retcode, retmsg, zk_conn)