-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
chore(lint): errors reported by golangci-lint: S1009: should omit nil check; printf: non-constant format string #19772 #19773
Conversation
❌ Preview Environment deleted from BunnyshellAvailable commands (reply to this comment):
|
❌ Preview Environment deleted from BunnyshellAvailable commands (reply to this comment):
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #19773 +/- ##
==========================================
+ Coverage 55.85% 55.94% +0.09%
==========================================
Files 320 320
Lines 44057 44057
==========================================
+ Hits 24609 24649 +40
+ Misses 16896 16855 -41
- Partials 2552 2553 +1 ☔ View full report in Codecov by Sentry. |
Small comment and LGTM. Great work |
… check; printf: non-constant format string Signed-off-by: Cheng Fang <cfang@redhat.com>
@CodiumAI-Agent /review |
PR Reviewer Guide 🔍
|
I have checked in all the cases where we removed nil check, we actually use slices and let fuction will return 0 and not panic. |
Fixes #19772
This PR fixes various errors reported by golangci-lint version 1.60.3.
Checklist: