-
Notifications
You must be signed in to change notification settings - Fork 297
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
🌱 lint: remove skip-files for api/v1alpha3 #2378
🌱 lint: remove skip-files for api/v1alpha3 #2378
Conversation
Hi @adityabhatia. Thanks for your PR. I'm waiting for a kubernetes-sigs 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/test-infra repository. |
/ok-to-test |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #2378 +/- ##
==========================================
+ Coverage 60.54% 61.11% +0.57%
==========================================
Files 164 164
Lines 9392 9469 +77
==========================================
+ Hits 5686 5787 +101
+ Misses 3292 3275 -17
+ Partials 414 407 -7
☔ View full report in Codecov by Sentry. |
// vSphere server's certificate. | ||
// DEPRECATED: will be removed in v1alpha4 | ||
// Depracated: will be removed in v1alpha4 |
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.
// Depracated: will be removed in v1alpha4 | |
// Deprecated: will be removed in v1alpha4. |
Also for the other occurencies :-)
// ClusterFinalizer allows ReconcileVSphereCluster to clean up vSphere | ||
// resources associated with VSphereCluster before removing it from the | ||
// API server. | ||
ClusterFinalizer = "vspherecluster.infrastructure.cluster.x-k8s.io" |
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.
We should not remove this.
apis/v1alpha3/cloudprovider_types.go
Outdated
@@ -27,7 +27,7 @@ limitations under the License. | |||
package v1alpha3 | |||
|
|||
// CPIConfig is the vSphere cloud provider's configuration. | |||
// DEPRECATED: will be removed in v1alpha4 | |||
// Depracated: will be removed in v1alpha4. |
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.
// Depracated: will be removed in v1alpha4. | |
// | |
// Deprecated: will be removed in v1alpha4. |
Go needs Deprecated
to be ona new line for it to be picked up by tooling.
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.
Looks good - only fixups are to spelling and spacing for deprecated markers.
Thanks!
accd24a
to
a794d36
Compare
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
Thanks!
LGTM label has been added. Git tree hash: 1f75a7b7f7a7679da919a91db26747cff174121f
|
/hold @adityabhatia do you mind squashing the commits? |
a794d36
to
08de607
Compare
08de607
to
47785f1
Compare
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.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: chrischdi 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 |
/lgtm |
LGTM label has been added. Git tree hash: 1f75a7b7f7a7679da919a91db26747cff174121f
|
What this PR does / why we need it:
This PR removes
api/v1alpha3
files fromgolangci-lint
skip-files
config and fixes underlying lint issues.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 # #2058