Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix query in single GET disksnapshot request #285

Merged
merged 1 commit into from
Apr 20, 2022

Conversation

mkemel
Copy link
Member

@mkemel mkemel commented Apr 18, 2022

Fixing GET api/disks/{diskid}/disksnapshots/{snapshotid}:
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.

Bug-Url: https://bugzilla.redhat.com/2013696

@mkemel mkemel added the storage label Apr 18, 2022
@ahadas ahadas changed the title restapi: fix query in single GET disksnapshot request Fix query in single GET disksnapshot request Apr 18, 2022
Fixing GET api/disks/{diskid}/disksnapshots/{snapshotid}:
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.

Bug-Url: https://bugzilla.redhat.com/2013696
@mkemel mkemel force-pushed the fix_get_disk_snapshot_query branch from 7c5a3a0 to 36b9a25 Compare April 20, 2022 05:51
@ahadas
Copy link
Member

ahadas commented Apr 20, 2022

/ost

@ahadas ahadas merged commit 6ace587 into oVirt:master Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants