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

Fix URL parsing for Go 1.8. #261

Merged
merged 4 commits into from
Feb 20, 2017
Merged

Fix URL parsing for Go 1.8. #261

merged 4 commits into from
Feb 20, 2017

Conversation

timoreimann
Copy link
Collaborator

@timoreimann timoreimann commented Feb 17, 2017

This PR adds Go 1.8 to the tested build environments.

We also fix our cluster URL parsing logic to adjust to the change in behavior for scheme-less URL parsing. In summary, a URL like http://10.0.0.1:8080,10.0.0.2:8080 would work in Go < 1.8 but fail in Go 1.8.

See the related commit message description for details.

@timoreimann timoreimann changed the title Update URL parsing for Go 1.8. Fix URL parsing for Go 1.8. Feb 17, 2017
@timoreimann
Copy link
Collaborator Author

@gambol99 could you have a look please? Thanks!

@gambol99
Copy link
Owner

LGTM 👍

@timoreimann timoreimann merged commit 38bd622 into master Feb 20, 2017
@timoreimann timoreimann deleted the travis-go-1.8 branch February 20, 2017 14:31
jangie pushed a commit to jangie/go-marathon that referenced this pull request May 6, 2017
The behavior changed in 1.8.

See also the 1.8 release notes[1], this Go issue[2], and these examples[3].

[1]https://golang.org/doc/go1.8#minor_library_changes
[2]golang/go#16822
[3]https://play.golang.org/p/EKOP85WqLd
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