mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems> (cherry picked from commit 4c164d10cb7fa08aeb3c6960cafd41a5ea4e84dd)
This commit is contained in:
parent
905a6a77cd
commit
17fe5108ab
@ -171,19 +171,19 @@ define(function(require) {
|
||||
}
|
||||
|
||||
if(
|
||||
templateJSON["TOPOLOGY"] &&
|
||||
templateJSON["TOPOLOGY"]["HUGEPAGE_SIZE"] !== undefined &&
|
||||
templateJSON["TOPOLOGY"]["HUGEPAGE_SIZE"] !== null &&
|
||||
templateJSON["TOPOLOGY"]["HUGEPAGE_SIZE"].length<=0
|
||||
templateJSON["TOPOLOGY"] &&
|
||||
(templateJSON["TOPOLOGY"]["HUGEPAGE_SIZE"] === undefined ||
|
||||
templateJSON["TOPOLOGY"]["HUGEPAGE_SIZE"] === null ||
|
||||
templateJSON["TOPOLOGY"]["HUGEPAGE_SIZE"].length<=0)
|
||||
){
|
||||
delete templateJSON["TOPOLOGY"]["HUGEPAGE_SIZE"];
|
||||
}
|
||||
|
||||
if(
|
||||
templateJSON["TOPOLOGY"] &&
|
||||
templateJSON["TOPOLOGY"]["MEMORY_ACCESS"] !== undefined &&
|
||||
templateJSON["TOPOLOGY"]["MEMORY_ACCESS"] !== null &&
|
||||
templateJSON["TOPOLOGY"]["MEMORY_ACCESS"].length<=0
|
||||
templateJSON["TOPOLOGY"] &&
|
||||
(templateJSON["TOPOLOGY"]["MEMORY_ACCESS"] === undefined ||
|
||||
templateJSON["TOPOLOGY"]["MEMORY_ACCESS"] === null ||
|
||||
templateJSON["TOPOLOGY"]["MEMORY_ACCESS"].length<=0)
|
||||
){
|
||||
delete templateJSON["TOPOLOGY"]["MEMORY_ACCESS"];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user