Skip to content

Commit

Permalink
Closes-Bug #1589102, Closes-Bug #1587761
Browse files Browse the repository at this point in the history
Fixed instances and networks count not showing in the monitor pages
networking/projects & networking/networks

Change-Id: Ie6eba7d6f46be7bf7d0a1c2efeb76e72f22ec76e
  • Loading branch information
skizhak committed Sep 2, 2016
1 parent 830fbb0 commit aca70dc
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions webroot/monitor/networking/api/network.mon.api.js
Original file line number Diff line number Diff line change
Expand Up @@ -1336,10 +1336,7 @@ function getVirtualNetworksForUser(appData, callback) {
}
var vnArray = [], configVNDataLen = configVNData.length;
for (var i = 0; i < configVNDataLen; i++) {
var vnList =
commonUtils.getValueByJsonPath(configVNData,
'i;virtual-networks',
[]);
var vnList = commonUtils.getValueByJsonPath(configVNData[i], 'virtual-networks', []);
vnArray = vnArray.concat(vnList);
}
configVNData['virtual-networks'] = vnArray;
Expand Down

0 comments on commit aca70dc

Please sign in to comment.