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: check update.Error != nil but return a nil value error err #2921

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

alingse
Copy link
Contributor

@alingse alingse commented Dec 15, 2024

What issue type does this pull request address? (keep at least one, remove the others)
/kind bugfix

What does this pull request do? Which issues does it resolve? (use resolves #<issue_number> if possible)
resolves #

avoid to return a nil err

Please provide a short message that should be published in the DevSpace release notes

fix a bug

What else do we need to know?
I have an idea to detect code that returns a non-relevant nilness error bug. I checked the top 1000 GitHub Go repositories and found this, all result listed in alingse/sundrylint#4

Copy link

netlify bot commented Dec 15, 2024

Deploy Preview for devspace-docs canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit 0812453
🔍 Latest deploy log https://app.netlify.com/sites/devspace-docs/deploys/675ed6f6479c5300087d0cd3

@deniseschannon deniseschannon merged commit 8c49255 into devspace-sh:main Dec 19, 2024
5 checks passed
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