Skip to content

Commit

Permalink
fix(backups): merged disk incorrectly marked as key disk
Browse files Browse the repository at this point in the history
  • Loading branch information
stephane-m-dev committed Jan 9, 2025
1 parent 3a21290 commit 8b98691
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion @xen-orchestra/backups/_cleanVm.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ export async function cleanVm(
if (mergedSize) {
// all disks are now key disk
metadata.isVhdDifferencing = {}
for (const id of Object.values(metadata.vdis ?? {})) {
for (const id of Object.keys(metadata.vdis ?? {})) {
metadata.isVhdDifferencing[`${id}.vhd`] = false
}
}
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.unreleased.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
<!--packages-start-->

- @xen-orchestra/backups patch
- @xen-orchestra/web-core minor

<!--packages-end-->

0 comments on commit 8b98691

Please sign in to comment.