fix(backups/cleanVm): wait for unreferenced VHDs to be deleted

Introduced by 249f63849
This commit is contained in:
Julien Fontanet 2022-07-28 17:56:09 +02:00
parent 19208472e6
commit 8864c2f2db
2 changed files with 2 additions and 1 deletions

View File

@ -169,7 +169,7 @@ async function checkAliases(
prependDir: true,
})
vhds.forEach(async path => {
await asyncMap(vhds, async path => {
if (!aliasFound.includes(path)) {
logWarn('no alias references VHD', { path })
if (remove) {

View File

@ -29,6 +29,7 @@
<!--packages-start-->
- @xen-orchestra/backups patch
- @xen-orchestra/mixins minor
- @xen-orchestra/proxy minor
- xo-server minor