fix(Xapi#createVm): add missing param

This commit is contained in:
Julien Fontanet 2016-07-23 15:49:27 +02:00
parent d9fd9cb408
commit 6d8764f8cb

View File

@ -138,7 +138,7 @@ export default {
//
// TODO: set vm.suspend_SR
if (vdis) {
const devices = await this.call('VM.get_allowed_VBD_devices')
const devices = await this.call('VM.get_allowed_VBD_devices', vm.$ref)
await Promise.all(mapToArray(vdis, (vdiDescription, i) => {
return this._createVdi(
vdiDescription.size, // FIXME: Should not be done in Xapi.