diff --git a/src/xapi-objects-to-xo.js b/src/xapi-objects-to-xo.js index 9280464c1..ca88bac03 100644 --- a/src/xapi-objects-to-xo.js +++ b/src/xapi-objects-to-xo.js @@ -238,7 +238,7 @@ export function vm (obj) { vm.template_info = { arch: otherConfig['install-arch'], disks: (function () { - const {xml} = otherConfig + const {disks: xml} = otherConfig if (!xml) { return [] }