chore(xo-server/exportDeltaVm): pass cancel token to _snapshotVm
This commit is contained in:
parent
1149102f37
commit
788bfe632f
@ -806,7 +806,7 @@ export default class Xapi extends XapiBase {
|
|||||||
this._assertHealthyVdiChains(vm)
|
this._assertHealthyVdiChains(vm)
|
||||||
}
|
}
|
||||||
if (!vm.is_a_snapshot) {
|
if (!vm.is_a_snapshot) {
|
||||||
vm = await this._snapshotVm(vm, snapshotNameLabel)
|
vm = await this._snapshotVm($cancelToken, vm, snapshotNameLabel)
|
||||||
$defer.onFailure(() => this._deleteVm(vm))
|
$defer.onFailure(() => this._deleteVm(vm))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user