Skip to content

Commit

Permalink
Fix setting of undefined key
Browse files Browse the repository at this point in the history
Signed-off-by: Timothy Gerstel <[email protected]>
  • Loading branch information
timgerstel committed Jul 31, 2024
1 parent bb01a03 commit 9afd298
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/actions/InstallationHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,12 @@ class Installation {
if(yamlSchema && serverCommon){
yamlSchema.additionalProperties = true;
yamlSchema.properties.zowe.properties.setup.properties.dataset.properties.parmlibMembers.properties.zis = zoweDatasetMemberRegexFixed;
if(yamlSchema.properties.zowe.properties.setup.properties.certificate.properties.pkcs12 === undefined){
yamlSchema.properties.zowe.properties.setup.properties.certificate.properties.pkcs12 = {properties: {
directory: '/global/zowe/keystore'
}
}
}
yamlSchema.properties.zowe.properties.setup.properties.certificate.properties.pkcs12.properties.directory = serverCommon.$defs.path;
if(yamlSchema.$defs?.networkSettings?.properties?.server?.properties?.listenAddresses?.items){
delete yamlSchema.$defs?.networkSettings?.properties?.server?.properties?.listenAddresses?.items?.ref;
Expand Down

0 comments on commit 9afd298

Please sign in to comment.