Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update defaults logic for multi-pem #266

Merged
merged 4 commits into from
Jul 31, 2023

Conversation

1000TurquoisePogs
Copy link
Member

This PR fixes zowe/zlux#976 by updating the defaults to handle 3 different cases in the pem CA section:

  1. if the section is an array, return it without wrapping in an array (was a bug, ended up with 2 arrays)
  2. if the section isnt an array, its a string which may be many entries if it has a ,. so, do a split(,), which even if there's just 1 entry you still get an array.

Signed-off-by: 1000TurquoisePogs <[email protected]>
Signed-off-by: 1000TurquoisePogs <[email protected]>
Signed-off-by: 1000TurquoisePogs <[email protected]>
@DivergentEuropeans DivergentEuropeans merged commit 39e4dd2 into v2.x/staging Jul 31, 2023
3 checks passed
@DivergentEuropeans
Copy link
Member

This makes sense

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

zlux can't load PEM section of zowe.yaml when multiple entries exist
2 participants