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

Remove container-specific discovery url logic #294

Merged
merged 1 commit into from
Feb 2, 2024

Conversation

1000TurquoisePogs
Copy link
Member

In v2.14.0 we revamped discovery url logic to work better for HA/FT
This cleanup removed some hardcoded evaluation of ZWE_DISCOVERY_SERVICES_LIST within the server, so that the server now relies on the zowe.yaml (specifically, defaults.yaml) content only.

In v2.12.0 we discovered weird behavior on containers that worked best when we had the line if (process.env.ZWE_RUN_IN_CONTAINER=="true" && process.env.ZWE_GATEWAY_HOST) {
Only, this logic seems to depend upon that old hardcoding of ZWE_DISCOVERY_SERVICES_LIST.
Now that that is removed, container registration is broken.

This PR attempts to fix container registration by removing that conditional so that the registration just does use ZWE_DISCOVERY_SERVICES_LIST as it did before.

Signed-off-by: 1000TurquoisePogs <[email protected]>
@1000TurquoisePogs 1000TurquoisePogs changed the base branch from v2.x/staging to v2.x/rc February 2, 2024 14:16
@struga0258 struga0258 self-requested a review February 2, 2024 14:20
@1000TurquoisePogs 1000TurquoisePogs merged commit 856c480 into v2.x/rc Feb 2, 2024
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Closed
Development

Successfully merging this pull request may close these issues.

2 participants