fix(xo-server/vm.warmMigration): fix start/delete params handling (#6570)
This commit is contained in:
committed by
GitHub
parent
ad2454adab
commit
d58f563de5
@@ -11,6 +11,8 @@
|
||||
|
||||
> Users must be able to say: “I had this issue, happy to know it's fixed”
|
||||
|
||||
- [Warm migration] Fix start and delete vm after a warm migration [[#6568](https://github.com/vatesfr/xen-orchestra/issues/6568)]
|
||||
|
||||
### Packages to release
|
||||
|
||||
> When modifying a package, add it here with its release type.
|
||||
@@ -26,4 +28,6 @@
|
||||
> Keep this list alphabetically ordered to avoid merge conflicts
|
||||
|
||||
<!--packages-start-->
|
||||
|
||||
- xo-server: patch
|
||||
<!--packages-end-->
|
||||
|
||||
@@ -596,8 +596,8 @@ migrate.resolve = {
|
||||
migrationNetwork: ['migrationNetwork', 'network', 'administrate'],
|
||||
}
|
||||
|
||||
export async function warmMigration({ vm, sr, startVm, deleteSource }) {
|
||||
await this.warmMigrateVm(vm, sr, startVm, deleteSource)
|
||||
export async function warmMigration({ vm, sr, startDestinationVm, deleteSourceVm }) {
|
||||
await this.warmMigrateVm(vm, sr, startDestinationVm, deleteSourceVm)
|
||||
}
|
||||
warmMigration.permission = 'admin'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user