-
Notifications
You must be signed in to change notification settings - Fork 602
🌱 [release-2.6] Bump golangci-lint to v1.62.2 and fix all lint errors #5377
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
Conversation
Hi @r4f4. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/ok-to-test |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: nrb The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Should we bump the linter version? In #5255 @AndiDog mentions panics in the 1.56 version
|
Yeah let's |
Ok. So let's try to cherry-pick #5255. |
Manual cherry-pick of kubernetes-sigs#5255
predeclared
issue
Update: this PR has now become a manual cherry-pick of #5255 |
/lgtm |
This fixes the issue of shadowing the builtins
min
/max
shadowed by local variables declaration.This has been fixed in newer branches via #5255
What type of PR is this?
/kind cleanup
What this PR does / why we need it: Fix a linting issue in the 2.6 branch
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #
Special notes for your reviewer:
Issue found while testing #5226
Checklist:
Release note: