Fix optional options in Xapi#remoteCopyVm().

This commit is contained in:
Julien Fontanet 2015-11-12 18:21:12 +01:00
parent 37a00f0d16
commit 94615d3b36

View File

@ -624,7 +624,7 @@ export default class Xapi extends XapiBase {
async remoteCopyVm (vmId, targetXapi, targetSrId, { async remoteCopyVm (vmId, targetXapi, targetSrId, {
compress = true, compress = true,
nameLabel = undefined nameLabel = undefined
}) { } = {}) {
const sr = targetXapi.getObject(targetSrId) const sr = targetXapi.getObject(targetSrId)
const stream = await this.exportVm(vmId, { const stream = await this.exportVm(vmId, {
compress, compress,