-
Notifications
You must be signed in to change notification settings - Fork 94
Bump github.com/golangci/golangci-lint/v2 from 2.5.0 to 2.6.0 #2521
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
base: main
Are you sure you want to change the base?
Bump github.com/golangci/golangci-lint/v2 from 2.5.0 to 2.6.0 #2521
Conversation
|
|
✅ Deploy Preview for kubernetes-sigs-cluster-api-ibmcloud ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: ChandrikaHarish The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
Welcome @ChandrikaHarish! |
|
Hi @ChandrikaHarish. Thanks for your PR. I'm waiting for a github.com 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 |
|
/check-cla |
|
/easycla |
1 similar comment
|
/easycla |
|
/check-cla |
4519395 to
e903eb0
Compare
|
|
||
| // Deprecated: This field has no function and is going to be removed in the next release. | ||
|
|
||
| // +optional |
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.
Can you follow something like this https://github.com/openshift-cloud-team/cluster-api/blob/ee2b6e857aa21f0a94c80024f60bf558a4a151a7/api/core/v1beta1/cluster_types.go#L564-L570
// Deprecated: This field has no function and is going to be removed in the next release.
//
// +optional
It will preserve the Deprecated fields in the CRD.
Here and everywhere.
f784410 to
5bd9a47
Compare
Karthik-K-N
left a comment
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
Thank you.
pkg/endpoints/endpoints.go
Outdated
|
|
||
| // FetchRCEndpoint will return resource controller endpoint. | ||
| // Deprecated: User FetchEndpoints instead. | ||
|
|
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.
same as above
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.
Resolved by adding revive exclude-rules for SA1019 in golangci.yml
5bd9a47 to
87d3772
Compare
|
New changes are detected. LGTM label has been removed. |
87d3772 to
8c1d5d7
Compare
What this PR does / why we need it:
Resolved lint issues arising due to lint ci version bump.
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:
/area provider/ibmcloud
Release note: