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 = { var resp = {
result: 0, 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: [{ nodes: [{
nodeType: "storage", nodeType: "storage",
flexibleCloudlets: getParam('settings.st_flexibleCloudlets', 8), flexibleCloudlets: ${settings.st_flexibleCloudlets:8},
fixedCloudlets: getParam('settings.st_fixedCloudlets', 1), fixedCloudlets: ${settings.st_fixedCloudlets:1},
diskLimit: getParam('settings.st_diskLimit', 100), diskLimit: ${settings.st_diskLimit:100},
nodeGroup: "storage", nodeGroup: "storage",
displayName: "Storage" displayName: "Storage"
}] }]
}; }
resp.nodes.push({ resp.nodes.push({
nodeType: "llsmp", nodeType: "llsmp",
engine: phpVersion, engine: phpVersion,