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

fix: move failed precondition to correct location #159

Merged
merged 1 commit into from
Sep 16, 2022

Conversation

malandis
Copy link
Contributor

The failed precondition switch statement was not taking into account the switch statement fall through behavior. In the previous location, we would raise FailedPrecondition for InvalidArgument or OutOfRange gRPC status codes, which is not what we want.

The failed precondition switch statement was not taking into account
the switch statement fall through behavior. In the previous location,
we would raise `FailedPrecondition` for `InvalidArgument` or
`OutOfRange` gRPC status codes, which is not what we want.
@malandis malandis marked this pull request as ready for review September 16, 2022 17:10
@malandis malandis merged commit 37d1329 into main Sep 16, 2022
@malandis malandis deleted the fix/failed-precondition-switch-case-location branch September 16, 2022 17:13
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