-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
🌱 Upgrade to golangci-lint v1.44 and fix findings #6014
🌱 Upgrade to golangci-lint v1.44 and fix findings #6014
Conversation
f794e60
to
09fa177
Compare
/lgtm Updates all seem reasonable. |
Thx, I also added it to the PR description |
09fa177
to
f5c4b43
Compare
Thx for the reviews! I also took a look at all new linters and added the |
f5c4b43
to
2f9ffb6
Compare
Changes still look good to me. Thanks for adding linter analysis in the PR description, that could be a helpful reference in the future. /lgtm |
internal/controllers/machinehealthcheck/machinehealthcheck_controller_test.go
Outdated
Show resolved
Hide resolved
Signed-off-by: Stefan Büringer [email protected]
2f9ffb6
to
dece5b1
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: vincepri 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 |
Signed-off-by: Stefan Büringer [email protected]
What this PR does / why we need it:
This PR upgrades golangci-lint to v1.44 and adds the new
containedctx
linter (for context, see: # https://go.dev/blog/context-and-structs)I also looked at the other new linters in the release notes, but I don't think we should add one of them:
xref: golangci-lint release notes: https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md#v1440
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 #