Skip to content

Commit

Permalink
Fix for env vars too
Browse files Browse the repository at this point in the history
Signed-off-by: 1000TurquoisePogs <[email protected]>
  • Loading branch information
1000TurquoisePogs committed Dec 21, 2023
1 parent 7b19481 commit 352efbc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ All notable changes to the Zowe Installer will be documented in this file.
## `2.14.0`

### New features and enhancements
- configmgr.ts now can return a Zowe config with the given HA instance's configuration substituted for convenience. This now used in zwe to fix an issue where zwe would not respect the preference of if a component was enabled or disabled in a particular instance.
- Enhancement: configmgr.ts now can return a Zowe config with the given HA instance's configuration substituted for convenience. This now used in zwe to fix an issue where zwe would not respect the preference of if a component was enabled or disabled in a particular instance when zowe.useConfigmgr was set to true.

#### Minor enhancements/defect fixes
- Bugfix: environment variables were not using the values specified for each HA instance when zowe.useConfigmgr was set to true.

## `2.13.0`

Expand Down
2 changes: 1 addition & 1 deletion bin/libs/configmgr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ export function getZoweConfigEnv(haInstance: string): any {
haFlattener.setSeparator('_');
haFlattener.setPrefix('ZWE_');
haFlattener.setKeepArrays(true);
let overrides = haFlattener.flatten(config.haInstances[haInstance]);
overrides = haFlattener.flatten(config.haInstances[haInstance]);
} else {
envs['ZWE_haInstance_hostname'] = config.zowe.externalDomains[0];
}
Expand Down

0 comments on commit 352efbc

Please sign in to comment.