Skip to content

Conversation

@menghanl
Copy link
Contributor

@menghanl menghanl commented Nov 3, 2021

Related to #4892

RELEASE NOTES: N/A

@menghanl menghanl requested a review from easwars November 3, 2021 17:52
@menghanl menghanl added the Type: Feature New features or improvements in behavior label Nov 3, 2021
@menghanl menghanl added this to the 1.43 release milestone Nov 3, 2021
}
case "client_default_listener_resource_name_template":
if !env.FederationSupport {
return nil, fmt.Errorf("xds: bootstrap field %v is not support when Federation is disabled", k)
Copy link
Contributor

Choose a reason for hiding this comment

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

We have so far handled unknown fields by ignoring them (and we recently added code to log them). Why do you want to return an error here instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should just log the error. Fixed.

@easwars easwars assigned menghanl and unassigned easwars Nov 4, 2021
@menghanl menghanl assigned easwars and unassigned menghanl Nov 8, 2021
@menghanl menghanl force-pushed the federation_bootstrap_env_var branch from ad64330 to 1fd47a7 Compare November 8, 2021 18:15
@easwars easwars assigned menghanl and unassigned easwars Nov 8, 2021
@menghanl menghanl merged commit 82c2825 into grpc:master Nov 8, 2021
@menghanl menghanl deleted the federation_bootstrap_env_var branch November 8, 2021 22:18
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Type: Feature New features or improvements in behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants