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

[Release-1.25]Bump golangci-lint for golang 1.20 compat and fix warnings #4188

Merged

Conversation

osodracnai
Copy link
Contributor

Proposed Changes

Backporting from #4108

Types of Changes

Verification

Linked Issues

Further Comments

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 30f83b9)
@osodracnai osodracnai requested a review from a team as a code owner May 9, 2023 18:42
@dereknola
Copy link
Contributor

We don't bump golang versions in release branches, we just match with what version upstream uses. I'm not sure this PR is necessary, as we will never bump golang to 1.20 for this branch.

@brandond
Copy link
Contributor

brandond commented May 9, 2023

@dereknola we should keep the linter up to date regardless of what golang version is in use, and the new linter version raised valid findings on the flag vars shadowing built-in function names. Since we changed the flags on the master branch, and we backport everything, we also need to backport this.

@osodracnai osodracnai merged commit 7594cac into rancher:release-1.25 May 9, 2023
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.

None yet

3 participants