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

Update ctx.Err() usage to context.Cause(ctx) #1179

Merged
merged 2 commits into from Apr 22, 2024
Merged

Conversation

ChrisSchinnerl
Copy link
Member

This PR updates a few spots where we return ctx.Err() instead of context.Cause(ctx) to make sure we return the proper shutdown error instead of the standard "context was cancelled".

@ChrisSchinnerl ChrisSchinnerl self-assigned this Apr 18, 2024
@ChrisSchinnerl ChrisSchinnerl marked this pull request as ready for review April 18, 2024 13:37
@ChrisSchinnerl ChrisSchinnerl merged commit d87b0ac into dev Apr 22, 2024
8 checks passed
@ChrisSchinnerl ChrisSchinnerl deleted the chris/context-cause branch April 22, 2024 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants