Skip to content

api: fix wrong java_package option in a proto file#5853

Merged
mattklein123 merged 1 commit intoenvoyproxy:masterfrom
dapengzhang0:fix-java-package-option
Feb 6, 2019
Merged

api: fix wrong java_package option in a proto file#5853
mattklein123 merged 1 commit intoenvoyproxy:masterfrom
dapengzhang0:fix-java-package-option

Conversation

@dapengzhang0
Copy link
Contributor

@dapengzhang0 dapengzhang0 commented Feb 5, 2019

Signed-off-by: Penn (Dapeng) Zhang zdapeng@google.com

Description:
The java_package option in api/envoy/config/common/tap/v2alpha/common.proto was wrong and conflicts with the other file api/envoy/service/tap/v2alpha/common.proto.

Risk Level: Low
Testing:
Docs Changes:
Release Notes:
[Optional Fixes #Issue]
[Optional Deprecated:]

Signed-off-by: Penn (Dapeng) Zhang <zdapeng@google.com>
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.

fix_format didn't catch this?

@htuch htuch self-assigned this Feb 5, 2019
@dapengzhang0
Copy link
Contributor Author

fix_format didn't catch this?

Yes. It was copied from the other file, so it has that option when the file was created. check_format only checks if the option is there. fix_format was not triggered.

We could add a check, which will disallow custom value.

@mattklein123 mattklein123 merged commit 8ddd3b7 into envoyproxy:master Feb 6, 2019
@dapengzhang0 dapengzhang0 deleted the fix-java-package-option branch February 8, 2019 18:28
fredlas pushed a commit to fredlas/envoy that referenced this pull request Mar 5, 2019
Signed-off-by: Penn (Dapeng) Zhang <zdapeng@google.com>
Signed-off-by: Fred Douglas <fredlas@google.com>
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.

3 participants