mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
M #~: fix fill data hugepages (#4645)
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
This commit is contained in:
parent
a8abef07cc
commit
b8e00d6cd9
@ -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];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user