Merge pull request #355 from vatesfr/issue-1233
fix(Xapi#importDeltaVm): correctly handle missing network
This commit is contained in:
commit
6bcaca6cd7
@ -1289,7 +1289,7 @@ export default class Xapi extends XapiBase {
|
|||||||
// Create VIFs.
|
// Create VIFs.
|
||||||
Promise.all(mapToArray(delta.vifs, vif => {
|
Promise.all(mapToArray(delta.vifs, vif => {
|
||||||
const network =
|
const network =
|
||||||
this.getObject(vif.$network$uuid) ||
|
this.getObject(vif.$network$uuid, null) ||
|
||||||
networksOnPoolMasterByDevice[vif.device] ||
|
networksOnPoolMasterByDevice[vif.device] ||
|
||||||
defaultNetwork
|
defaultNetwork
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user