mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 11:22:27 +00:00 
			
		
		
		
	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:
		| @@ -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 | ||||
|   | ||||
| @@ -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]); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user