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

BugFix: process configURL if the protocol is http #101

Merged
merged 1 commit into from
Sep 21, 2022

Conversation

Alfusainey
Copy link
Contributor

https is repeated twice in the if condition. This means that if the protocol in the URL to the Zilla JSON config file is http, then the java.net.http.HttpClient client is not used to retrieve the JSON configuration. Instead, a URLConnection is used.

@jfallows I think this will still work with a configURL.openConnection(). If this was the intended behavior, then i think the other approach will be to simply the if condition

Signed-off-by: Alfusainey Jallow [email protected]

Copy link
Contributor

@jfallows jfallows left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Alfusainey good catch!

@jfallows jfallows merged commit c21e095 into aklivity:develop Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants