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

vendor/etcd: don't use now-removed deprecated methods #805

Merged
merged 2 commits into from
Aug 18, 2017

Conversation

daviddrysdale
Copy link
Contributor

grpc/grpc-go#1392 has removed metadata.NewContext
and metadata.FromContext, so (locally) change invocations in our vendored etcd
code.

grpc/grpc-go#1392 has removed metadata.NewContext
and metadata.FromContext, so (locally) change invocations in our vendored etcd
code.
@daviddrysdale
Copy link
Contributor Author

Drat, it looks like there are more problems in the cmd/vendor directory inside the vendor/etcd code. We must go deeper.

Use a HEAD^ version that has both the old and new variants
of the context methods to minimize knock-on changes.
@Martin2112
Copy link
Contributor

Do you need to borrow a can opener?

Copy link
Contributor

@gdbelvin gdbelvin left a comment

Choose a reason for hiding this comment

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

This looks like it fixes things for the moment.

Are these changes tied to any upstream update in etcd?

@daviddrysdale
Copy link
Contributor Author

These changes are tied to an upstream update in grpc-go (and we currently build against the tip of that repo)

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

Successfully merging this pull request may close these issues.

4 participants