From ec8375252e8e1269928eb973daf6a53eaeec39d6 Mon Sep 17 00:00:00 2001 From: Olivier Lambert Date: Wed, 6 Jul 2016 22:18:25 +0200 Subject: [PATCH] fix(Xapi#importDeltaVm): correctly handle missing network --- src/xapi/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xapi/index.js b/src/xapi/index.js index db88bde86..4eb8f7fa6 100644 --- a/src/xapi/index.js +++ b/src/xapi/index.js @@ -1289,7 +1289,7 @@ export default class Xapi extends XapiBase { // Create VIFs. Promise.all(mapToArray(delta.vifs, vif => { const network = - this.getObject(vif.$network$uuid) || + this.getObject(vif.$network$uuid, null) || networksOnPoolMasterByDevice[vif.device] || defaultNetwork