Skip to content

clean up: Change some NOT_IMPLEMENTED to NOT_REACHED#12987

Merged
snowp merged 1 commit intoenvoyproxy:masterfrom
chadr123:not_reachable
Sep 4, 2020
Merged

clean up: Change some NOT_IMPLEMENTED to NOT_REACHED#12987
snowp merged 1 commit intoenvoyproxy:masterfrom
chadr123:not_reachable

Conversation

@chadr123
Copy link
Copy Markdown
Contributor

@chadr123 chadr123 commented Sep 4, 2020

Commit Message:
Change some NOT_IMPLEMENTED to NOT_REACHED in case of actually cannot be reached cases.
The NOT_IMPLEMENTED means that it can be filled with meaningful code later but not yet.
The NOT_REACHED means that it never occur so, it is a bug if reach here.

So, I change it to NOT_REACHED actually cannot be reached.
And a default value for protobuf of oneof cannot be selected by config and there is no
valid meaning for logic so I removed it as well.

Signed-off-by: DongRyeol Cha dr83.cha@samsung.com
Additional Description: None
Risk Level: Low
Testing: bazel test
Docs Changes: None
Release Notes: None

Change some NOT_IMPLEMENTED to NOT_REACHED in case of actually cannot be reached cases.
The NOT_IMPLEMENTED means that it can be filled with meaningful code later but not yet.
The NOT_REACHED means that it never occur so, it is a bug if reach here.

So, I change it to NOT_REACHED actually cannot be reached.
And a default value for protobuf of oneof cannot be selected by config and there is no
valid meaning for logic so I removed it as well.

Signed-off-by: DongRyeol Cha <dr83.cha@samsung.com>
@chadr123
Copy link
Copy Markdown
Contributor Author

chadr123 commented Sep 4, 2020

/retest

@repokitteh-read-only
Copy link
Copy Markdown

Retrying Azure Pipelines, to retry CircleCI checks, use /retest-circle.
Retried failed jobs in: envoy-presubmit

🐱

Caused by: a #12987 (comment) was created by @chadr123.

see: more, trace.

Copy link
Copy Markdown
Contributor

@snowp snowp left a comment

Choose a reason for hiding this comment

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

Thanks!

@snowp snowp merged commit 8abe7c4 into envoyproxy:master Sep 4, 2020
@chadr123 chadr123 deleted the not_reachable branch September 4, 2020 12:30
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.

2 participants