mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-22 20:54:49 +09:00
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
This commit is contained in:
1 parent
bb62e1cdbe
commit
4c164d10cb
1 file changed
+8
-8
@@ -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