From 94615d3b36d4a65ce2e5ac0888aee5d7be000640 Mon Sep 17 00:00:00 2001 From: Julien Fontanet Date: Thu, 12 Nov 2015 18:21:12 +0100 Subject: [PATCH] Fix optional options in Xapi#remoteCopyVm(). --- src/xapi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xapi.js b/src/xapi.js index b68ee57a3..22ecb8fa5 100644 --- a/src/xapi.js +++ b/src/xapi.js @@ -624,7 +624,7 @@ export default class Xapi extends XapiBase { async remoteCopyVm (vmId, targetXapi, targetSrId, { compress = true, nameLabel = undefined - }) { + } = {}) { const sr = targetXapi.getObject(targetSrId) const stream = await this.exportVm(vmId, { compress,