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

xds: use BuildOptions.Target.endpoint string instead of deprecated cc.Target #2807

Merged
merged 2 commits into from
May 10, 2019

Conversation

lyuxuan
Copy link
Contributor

@lyuxuan lyuxuan commented May 9, 2019

cc.Target() returns the full target string which includes scheme, authority and endpoint, while xds should send the endpoint part of it for xDS requests.

Also, cc.Target() has been deprecated and BuildOptions.Target field is being provided for parsed target info.

@lyuxuan lyuxuan requested a review from menghanl May 9, 2019 23:18
@lyuxuan lyuxuan merged commit a0be99a into grpc:master May 10, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Nov 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants