mirror of
https://github.com/OpenNebula/one.git
synced 2025-08-24 17:49:28 +03:00
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
(cherry picked from commit 4c164d10cb
)
This commit is contained in:
@ -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"];
|
||||
}
|
||||
|
Reference in New Issue
Block a user