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

proto: use anyConvertAndValidate where applicable #9726

Merged
merged 3 commits into from
Jan 19, 2020
Merged

proto: use anyConvertAndValidate where applicable #9726

merged 3 commits into from
Jan 19, 2020

Conversation

junr03
Copy link
Member

@junr03 junr03 commented Jan 17, 2020

Description: #9516 introduced anyConvertAndValidate. This PR changes call sites to the new function where applicable.
Risk Level: low. Logic remains the same just cleaning up double function calls for one.
Testing: CI. Also added unit test for anyConvertAndValidate

Fixes #9712

Jose Nino added 2 commits January 17, 2020 15:19
Signed-off-by: Jose Nino <jnino@lyft.com>
fmt
Signed-off-by: Jose Nino <jnino@lyft.com>
mattklein123
mattklein123 previously approved these changes Jan 17, 2020
Copy link
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

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

Awesome cleanup, thank you!

@junr03
Copy link
Member Author

junr03 commented Jan 18, 2020

thanks for the suggestion! I'll merge when tests pass.

htuch
htuch previously approved these changes Jan 18, 2020
Copy link
Member

@htuch htuch left a comment

Choose a reason for hiding this comment

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

Feel free to merge, but if you need to do another push, please fix nit.

test/common/protobuf/utility_test.cc Outdated Show resolved Hide resolved
Signed-off-by: Jose Nino <jnino@lyft.com>
@junr03 junr03 dismissed stale reviews from htuch and mattklein123 via 9a22a5f January 19, 2020 16:22
@mattklein123 mattklein123 merged commit 334724c into envoyproxy:master Jan 19, 2020
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.

protobuf: update pertinent sites to anyConvertAndValidate
3 participants