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

Add port of url.Redact to satisfy go1.14 compatibility #336

Merged
merged 5 commits into from
Sep 7, 2021
Merged

Conversation

eculver
Copy link
Contributor

@eculver eculver commented Aug 26, 2021

For our Consul 1.8.x release series, we depend on support for go1.14 and we depend on go-getter transitively through Nomad. After some looking, it appears that the only compatibility issue stems from the use of "net/url".URL.Redacted which was added in go1.15. So, this adds a getter.RedactURL method with the same functionality.

This won't block us or anything, but it would be real nice to be compatible with go1.14 given that it's just this one method.

url.go Outdated Show resolved Hide resolved
eculver and others added 2 commits August 26, 2021 22:54
Co-authored-by: Kent 'picat' Gruber <kent@hashicorp.com>
url.go Outdated Show resolved Hide resolved
eculver and others added 2 commits August 26, 2021 14:00
Co-authored-by: Kent 'picat' Gruber <kent@hashicorp.com>
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.

3 participants