fix(xo-server/importDeltaVm): remove extra return
It prevented the VBD creation in case of a new VDI.
This commit is contained in:
parent
a10997ca66
commit
4ac4310bc1
@ -1026,8 +1026,6 @@ export default class Xapi extends XapiBase {
|
||||
sr: mapVdisSrs[vdi.uuid] || srId,
|
||||
})
|
||||
$defer.onFailure(() => this._deleteVdi(newVdi))
|
||||
|
||||
return newVdi
|
||||
}
|
||||
|
||||
await asyncMap(vbds[vdiId], vbd =>
|
||||
|
Loading…
Reference in New Issue
Block a user