Skip to content

Commit

Permalink
JE-61765 [Open Liberty][Collaboration] Package installed w/o storage …
Browse files Browse the repository at this point in the history
…node for Collaborator
  • Loading branch information
dfateyev committed Feb 10, 2022
1 parent 8d3e7fe commit 7e82295
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions configs/settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ fields:
name: storage
caption: Attach dedicated NFS Storage with dynamic volume provisioning
value: true
default: true
showIf:
true:
- type: checkbox
Expand Down
3 changes: 3 additions & 0 deletions scripts/beforeinit.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,14 @@ if (!prod && dev){
if (!devStorage){
f[6].disabled = true;
f[6].value = false;
f[6]['default'] = false;
}
}

if (prod && !prodStorage){
f[6].disabled = true;
f[6].value = false;
f[6]['default'] = false;
}

if (!prod && !dev || group.groupType == 'trial'){
Expand All @@ -89,6 +91,7 @@ if (!prod && !dev || group.groupType == 'trial'){
f[3].markup = "Production and Development topologies are not available for " + group.groupType + " account. Please upgrade your account.";
f[3].height = 60;
f[6].value = false;
f[6]['default'] = false;

f.push({
"type": "compositefield",
Expand Down

0 comments on commit 7e82295

Please sign in to comment.