Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
restapi: fix hrefs in single GET disksnapshot request
Fixing GET api/disks/{diskid}/disksnapshots/{snapshotid}: Correct href for <parent> and <disk> elements. 1. <disk> element was returned without href attribute 2. <parent> element had an incorrect href - buildParentHref() was used, although the element is not related to the parent entity resource, but rather represents the parent image of the snapshot. Bug-Url: https://bugzilla.redhat.com/2013697
- Loading branch information