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: issue with switch when err is nil #166

Merged
merged 4 commits into from
Feb 29, 2024

Conversation

ryaneorth
Copy link
Contributor

Wrapping the switch statement in if err != nil check as it was erroneously returning an error when falling into the default block even when there was no error

@ryaneorth ryaneorth requested a review from a team February 28, 2024 00:37
Copy link

github-actions bot commented Feb 28, 2024

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@ryaneorth
Copy link
Contributor Author

I have read the CLA Document and I hereby sign the CLA

@ryaneorth
Copy link
Contributor Author

recheck

@vroldanbet vroldanbet added this pull request to the merge queue Feb 29, 2024
Merged via the queue into authzed:main with commit 561fb11 Feb 29, 2024
9 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Feb 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants