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

Update mdns to 1.0.1 #132

Merged
merged 2 commits into from
Jan 6, 2020
Merged

Update mdns to 1.0.1 #132

merged 2 commits into from
Jan 6, 2020

Conversation

notnoop
Copy link
Contributor

@notnoop notnoop commented Dec 18, 2019

Update mdns dependency mostly to avoid old github.com/hashicorp/go.net fork of golang.org/x/net and pick up hashicorp/mdns#65

For go.mod, I confirmed that go.net is no longer referenced:

Before

$ go mod graph | grep -e mdns -e go.net
github.com/hashicorp/go-discover github.com/hashicorp/[email protected]
github.com/hashicorp/[email protected] github.com/hashicorp/[email protected]
github.com/hashicorp/[email protected] github.com/miekg/[email protected]
github.com/hashicorp/[email protected] golang.org/x/[email protected]
github.com/hashicorp/[email protected] golang.org/x/[email protected]
github.com/hashicorp/[email protected] golang.org/x/[email protected]
github.com/hashicorp/[email protected] golang.org/x/[email protected]

After:

$ go mod graph | grep -e mdns -e go.net
github.com/hashicorp/go-discover github.com/hashicorp/[email protected]
github.com/hashicorp/[email protected] github.com/miekg/[email protected]
github.com/hashicorp/[email protected] golang.org/x/[email protected]
github.com/hashicorp/[email protected] golang.org/x/[email protected]
github.com/hashicorp/[email protected] golang.org/x/[email protected]
github.com/hashicorp/[email protected] golang.org/x/[email protected]

@notnoop notnoop requested a review from mkeeler December 18, 2019 22:08
Copy link
Member

@mkeeler mkeeler left a comment

Choose a reason for hiding this comment

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

One (maybe non-issue) I see is that the go.mod references github.com/miekg/dns @ v1.0.14. However in the mdns providers vendor file it looks like we vendored that library from master yesterday which is closer to the latest release of v1.1.25 (except that was released 8 days ago and we pulled in newere "unreleased" commits)

Do we need to keep the go.mod and the providers vendor file using the same versions of things? Should we then update the go.mod to call out v1.1.25 or a specific git revision?

@notnoop notnoop force-pushed the b-update-mdns-20191218 branch from 3fcc2f3 to 6a9235b Compare January 6, 2020 17:41
@notnoop
Copy link
Contributor Author

notnoop commented Jan 6, 2020

I have updated so the vendored files match go.mod - I chose to update that since it's the one we use and test in the nomad team.

Copy link
Member

@mkeeler mkeeler left a comment

Choose a reason for hiding this comment

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

LGTM

@notnoop notnoop merged commit 2f5d876 into master Jan 6, 2020
@notnoop notnoop deleted the b-update-mdns-20191218 branch January 6, 2020 19:52
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