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

Add missing nil err check #76

Merged
merged 1 commit into from
Feb 5, 2025
Merged

Add missing nil err check #76

merged 1 commit into from
Feb 5, 2025

Conversation

pojntfx
Copy link
Member

@pojntfx pojntfx commented Feb 5, 2025

During S3 migrations we compare an err value to an error without checking if that err is nil first. This PR fixes that.

…rr` is `nil`

Signed-off-by: Felicitas Pojtinger <felicitas@pojtinger.com>
Copy link
Contributor

@jimmyaxod jimmyaxod left a comment

Choose a reason for hiding this comment

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

LGTM

@pojntfx pojntfx merged commit 52cdcfa into main Feb 5, 2025
4 checks passed
@pojntfx pojntfx deleted the fix-err-nil-check branch February 5, 2025 19:15
@github-actions github-actions bot locked and limited conversation to collaborators Feb 5, 2025
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