Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
restapi: fix single GET disksnapshot request
Fixing GET api/disks/{diskid}/disksnapshots/{snapshotid}: 1. Return correct snapshot, when more than one snapshot existed for the disk. Incorrect query (GetAllDiskSnapshots) was used to fetch a single snapshot. Now using GetDiskSnapshotByImageId instead. 2. Correct href for <parent> and <disk> elements. Bug-Url: https://bugzilla.redhat.com/2013696
- Loading branch information