mirror of https://github.com/apache/cloudstack.git
Phase2: Fix Port - Node mapping when cluster is scaled in the presence of external node(s)
This commit is contained in:
parent
9d0e79d5bd
commit
67c75e13c7
|
|
@ -382,7 +382,9 @@ export default {
|
|||
},
|
||||
fetchInstances () {
|
||||
this.instanceLoading = true
|
||||
this.virtualmachines = this.resource.virtualmachines || []
|
||||
var defaultNodes = this.resource.virtualmachines.filter(x => !x.isexternalnode)
|
||||
var externalNodes = this.resource.virtualmachines.filter(x => x.isexternalnode)
|
||||
this.virtualmachines = defaultNodes.concat(externalNodes)
|
||||
this.virtualmachines.map(x => { x.ipaddress = x.nic[0].ipaddress })
|
||||
this.instanceLoading = false
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue