mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-22 20:54:49 +09:00
M #~: fix fill data hugepages (#4645)
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
This commit is contained in:
1 parent
a8abef07cc
commit
b8e00d6cd9
1 file changed
+4
-5
@@ -99,14 +99,13 @@ define(function(require) {
|
||||
hosts.map(function(host){
|
||||
if(
|
||||
host &&
|
||||
host.MONITORING &&
|
||||
host.MONITORING.HOST_SHARE &&
|
||||
host.HOST_SHARE &&
|
||||
host.NAME &&
|
||||
host.MONITORING.HOST_SHARE.NUMA_NODES &&
|
||||
host.MONITORING.HOST_SHARE.NUMA_NODES.NODE
|
||||
host.HOST_SHARE.NUMA_NODES &&
|
||||
host.HOST_SHARE.NUMA_NODES.NODE
|
||||
){
|
||||
var name = host.NAME;
|
||||
var numaNodes = host.MONITORING.HOST_SHARE.NUMA_NODES.NODE;
|
||||
var numaNodes = host.HOST_SHARE.NUMA_NODES.NODE;
|
||||
if (!(numaNodes instanceof Array)) {
|
||||
numaNodes = [numaNodes];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user