Fix count in the response of shares/snapshots list API
Share/Snapshot list API returns count of shares/snapshotsi along-with
list of resource objects. The list returned by API contains correct
entries of shares/snapshots but it returns the wrong count as it
ShareInstances/SnapshotInstances. So filter queries by unique
share_id/snapshot_id.
Reviewed: https:/ /review. opendev. org/c/openstack /manila/ +/893345 /opendev. org/openstack/ manila/ commit/ 9e835496dc2e87d 1137749e6420852 e41735bf4f
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 9e835496dc2e87d 1137749e6420852 e41735bf4f
Author: Kiran Pawar <email address hidden>
Date: Thu Aug 31 08:33:54 2023 +0000
Fix count in the response of shares/snapshots list API
Share/Snapshot list API returns count of shares/snapshotsi along-with ces/SnapshotIns tances. So filter queries by unique id/snapshot_ id.
list of resource objects. The list returned by API contains correct
entries of shares/snapshots but it returns the wrong count as it
ShareInstan
share_
Closes-bug: #2033604 6563f9553df415d e564b3901d6
Change-Id: I13c415767b0d12