Fixed Code

main
Anthony 2024-11-12 01:13:40 +08:00
parent 7cc7310f45
commit 76150d0ce6
1 changed files with 5 additions and 6 deletions

View File

@ -6,17 +6,16 @@ var wafAddon = getParam('settings.wafAddon', true);
var resp = {
result: 0,
ssl: !!jelastic.billing.account.GetQuotas('environment.jelasticssl.enabled').array[0]?.value,
ssl: !!jelastic.billing.account.GetQuotas('environment.jelasticssl.enabled').array[0].value,
nodes: [{
nodeType: "storage",
flexibleCloudlets: getParam('settings.st_flexibleCloudlets', 8),
fixedCloudlets: getParam('settings.st_fixedCloudlets', 1),
diskLimit: getParam('settings.st_diskLimit', 100),
flexibleCloudlets: ${settings.st_flexibleCloudlets:8},
fixedCloudlets: ${settings.st_fixedCloudlets:1},
diskLimit: ${settings.st_diskLimit:100},
nodeGroup: "storage",
displayName: "Storage"
}]
};
}
resp.nodes.push({
nodeType: "llsmp",
engine: phpVersion,