chore(xo-server): remove unnecessary getObject in exportDeltaVm
This commit is contained in:
parent
cbbbb6da4f
commit
489b142a66
@ -803,7 +803,7 @@ export default class Xapi extends XapiBase {
|
|||||||
) {
|
) {
|
||||||
let vm = this.getObject(vmId)
|
let vm = this.getObject(vmId)
|
||||||
if (!bypassVdiChainsCheck) {
|
if (!bypassVdiChainsCheck) {
|
||||||
this._assertHealthyVdiChains(this.getObject(vm))
|
this._assertHealthyVdiChains(vm)
|
||||||
}
|
}
|
||||||
if (!vm.is_a_snapshot) {
|
if (!vm.is_a_snapshot) {
|
||||||
vm = await this.snapshotVm(vmId)
|
vm = await this.snapshotVm(vmId)
|
||||||
|
Loading…
Reference in New Issue
Block a user