fix(xo-server/import): error during import of last snapshot of running VM (#7370)

From zammad#21710

Introduced by 2d047c4fef
This commit is contained in:
Florent BEAUCHAMP 2024-02-20 17:39:39 +01:00 committed by GitHub
parent 1718649e0c
commit 7890320a7d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -19,6 +19,7 @@
- [Settings/XO Config] Sort backups from newest to oldest
- [Plugins/audit] Don't log `tag.getAllConfigured` calls
- [Remotes] Correctly clear error when the remote is tested with success
- [Import/VMWare] Fix importing last snapshot (PR [#7370](https://github.com/vatesfr/xen-orchestra/pull/7370))
### Packages to release

View File

@ -280,7 +280,7 @@ export default class MigrateVm {
const stream = vhd.stream()
await vdi.$importContent(stream, { format: VDI_FORMAT_VHD })
}
return vhd
return { vdi, vhd }
})
)
)