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 3, 2025
1 parent fd9c9b2 commit 9f1a4a5
Showing 1 changed file with 1 addition 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

0 comments on commit 9f1a4a5

Please sign in to comment.