-
Notifications
You must be signed in to change notification settings - Fork 261
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 go1.19 linting errors #1313
🐛 Fix go1.19 linting errors #1313
Conversation
✅ Deploy Preview for kubernetes-sigs-cluster-api-openstack ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
5cda7ed
to
e0f3a57
Compare
e0f3a57
to
f6727e2
Compare
/lgtm Thanks for taking care of all these little things the last weeks @tobiasgiese ! |
Signed-off-by: Tobias Giese <tobias.giese@mercedes-benz.com>
f6727e2
to
5edcac1
Compare
/lgtm |
/hold We should discuss if want to fix these errors because of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: seanschneeweiss, tobiasgiese 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 |
👍 for fixing these errors. Should we update golangci-lint to v1.47.2 in a following PR? |
I'd suggest to not update golangci-lint to v1.47.2, see kubernetes-sigs/cluster-api#6737 (comment)
|
But I think it's fair to fix these errors (i.e., merge this PR). |
/hold cancel |
What this PR does / why we need it:
Currently we're facing the following issue:
xref
See go-critic/go-critic#1019
Further we have to make our linter happy, because the most recent test-infra image
gcr.io/k8s-staging-test-infra/kubekins-e2e:v20220726-61b7bafca6-master
is using go1.19-rc2 (see kubernetes/test-infra#26920)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:
TODOs:
Tobias Giese tobias.giese@mercedes-benz.com, Mercedes-Benz Tech Innovation GmbH, legal info/Impressum