Fixed inventory tab.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15184 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
phamt 2013-02-15 17:20:22 +00:00
parent dcd1acab69
commit 093fa0578c
2 changed files with 5 additions and 5 deletions

View File

@ -516,8 +516,8 @@ zvmPlugin.prototype.loadServiceInventory = function(data) {
var nicVDev, nicType, nicPortName, nicNumOfDevs, nicLanName;
// Loop through each NIC (Data contained in 2 lines)
for (l = 0; l < attrs[keys[k]].length; l = l + 2) {
if (attrs[keys[k]][l]) {
for (l = 0; l < attrs[keys[k]].length; l++) {
if (attrs[keys[k]][l].indexOf('Adapter') != -1) {
args = attrs[keys[k]][l].split(' ');
// Get NIC virtual device, type, port name, and number of devices
@ -1530,8 +1530,8 @@ zvmPlugin.prototype.loadInventory = function(data) {
var nicVDev, nicType, nicPortName, nicNumOfDevs, nicLanName;
// Loop through each NIC (Data contained in 2 lines)
for (l = 0; l < attrs[keys[k]].length; l = l + 2) {
if (attrs[keys[k]][l]) {
for (l = 0; l < attrs[keys[k]].length; l++) {
if (attrs[keys[k]][l].indexOf('Adapter') != -1) {
args = attrs[keys[k]][l].split(' ');
// Get NIC virtual device, type, port name, and number of devices

View File

@ -1676,7 +1676,7 @@ function getMonitorMetrics(node) {
var node, status;
// Get the ganglia status
for ( var i in ganglia) {
for (var i in ganglia) {
// ganglia[0] = nodeName and ganglia[1] = state
node = jQuery.trim(ganglia[i][0]);
status = jQuery.trim(ganglia[i][1]);