fix(xo-web): fix 'mapVdisSrs is assigned a value but never used' error (#5617)

Introduced by 90cafa126f
This commit is contained in:
Rajaa.BARHTAOUI 2021-02-26 13:34:33 +01:00 committed by GitHub
parent 2e5dfa5845
commit c82cee25a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1247,7 +1247,7 @@ export const migrateVm = async (vm, host) => {
return
}
const { mapVdisSrs, migrationNetwork, sr, targetHost } = params
const { migrationNetwork, sr, targetHost } = params
if (!targetHost) {
return error(_('migrateVmNoTargetHost'), _('migrateVmNoTargetHostMessage'))