Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

Config API returns outer layer profile values if inner layer doesn't exist #518

Closed
t1m0thyj opened this issue Jan 12, 2021 · 1 comment
Closed
Labels
bug Something isn't working team-profile
Milestone

Comments

@t1m0thyj
Copy link
Member

// TODO: If asked for inner layer profile, if profile doesn't exist, returns outer layer profile values (bug?)
public get(path: string): { [key: string]: string } {
return Config.buildProfile(path, JSONC.parse(JSONC.stringify(outer.properties.profiles)));
}

@t1m0thyj t1m0thyj added this to the Zowe vNext Backlog milestone Mar 9, 2021
@MikeBauerCA MikeBauerCA added the bug Something isn't working label Oct 26, 2021
@t1m0thyj
Copy link
Member Author

t1m0thyj commented Nov 29, 2022

This was fixed in #763 by adding a mustExist option to control this behavior.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working team-profile
Projects
None yet
Development

No branches or pull requests

2 participants