fix(backups): fix aggregated backup failing instead of falling back to a full

map.foreach((value,key)=> , not map.foreach(key=>
This commit is contained in:
Florent BEAUCHAMP
2026-07-27 03:50:33 -04:00
committed by Florent BEAUCHAMP
parent 6c4f7336e1
commit 5509f62ccd
3 changed files with 3 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ export class AggregatedIncrementalRemoteWriter extends AbstractAggregatedRemoteW
}
// update the parameter with our best candidate
// that can be an empty map
baseUuidToSrcVdi.forEach(key => {
baseUuidToSrcVdi.forEach((_, key) => {
if (!selectedCopy.has(key)) {
baseUuidToSrcVdi.delete(key)
}

View File

@@ -25,7 +25,7 @@ export class AggregatedIncrementalXapiWriter extends AbstractAggregatedXapiWrite
}
// update the parameter with our best candidate
// that can be an empty map
baseUuidToSrcVdi.forEach(key => {
baseUuidToSrcVdi.forEach((_, key) => {
if (!selectedCopy.has(key)) {
baseUuidToSrcVdi.delete(key)
}

View File

@@ -16,7 +16,7 @@
> Users must be able to say: "I had this issue, happy to know it's fixed"
- [Backups] Fix qcow2 transfer without NBD (PR [#10164](https://github.com/vatesfr/xen-orchestra/pull/10164))
- [Backups] Force a full backup if any suspect is detected on qcow2 without nbd (PR [#10164](https://github.com/vatesfr/xen-orchestra/pull/10164))
- [Backups] Force a full feplication if any suspect is detected on qcow2 without nbd (PR [#10164](https://github.com/vatesfr/xen-orchestra/pull/10164))
- [Backups] Force a full replication if any suspect is detected on qcow2 without nbd (PR [#10164](https://github.com/vatesfr/xen-orchestra/pull/10164))
- [Backups] Fix aggregated backup failing instead of falling back to a full backup (PR [#10164](https://github.com/vatesfr/xen-orchestra/pull/10164))
### Packages to release