🌱 Bump golanci-lint to v2.7.2
What this PR does / why we need it:
Golanci-lint is updated to the newest version.
Two new linting errors appeared:
- The errors package conflicts with standard library package.
- The shared package name is considered "meaningless".
I have renamed these packages to capoerrors and e2eshared.
This is a backport of #2894.
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:
- Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.
TODOs:
- [x] squashed commits
- if necessary:
- [ ] includes documentation
- [ ] adds unit tests
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please assign emilienm for approval. For more information see the Code Review Process.
The full list of commands accepted by this bot can be found here.
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
Deploy Preview for kubernetes-sigs-cluster-api-openstack ready!
| Name | Link |
|---|---|
| Latest commit | fb87e6109d0a84e42c6aead309732835628c4e65 |
| Latest deploy log | https://app.netlify.com/projects/kubernetes-sigs-cluster-api-openstack/deploys/693aa9236ed5090008ac49d9 |
| Deploy Preview | https://deploy-preview-2902--kubernetes-sigs-cluster-api-openstack.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify project configuration.
/hold I am not sure we should really do this for release branches. The golangci-lint updated workflow should not even run against PRs. Fixed for release-0.13 in https://github.com/kubernetes-sigs/cluster-api-provider-openstack/pull/2904
I don't see any harm to have at least in release 0.13. So lgtm from my side /lgtm