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

Build in-cluster url using net/url #103

Merged
merged 1 commit into from
Oct 25, 2018

Conversation

jsoriano
Copy link
Contributor

In-cluster server url is built concatenating host and port, this can be problematic with IPv6.

Use url.URL and net.JoinHostPort to generate the server URL.

@jsoriano jsoriano changed the title Build in-cluster url using ner/url Build in-cluster url using net/url Oct 25, 2018
@ericchiang
Copy link
Owner

lgtm, thanks!

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

Successfully merging this pull request may close these issues.

2 participants