-
Notifications
You must be signed in to change notification settings - Fork 4.3k
chore: use maintained version of misspell #8930
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: master
Are you sure you want to change the base?
Conversation
|
Hi @iamzili. 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. DetailsInstructions 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. |
|
@iamzili would you be willing to address the beneficial outcomes of this change? :) (The SDK files may be copy/paste vendored code, so we may just need to add that directory to an ignore config) |
|
/ok-to-test |
jackfrancis
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.
We can't land this until we fix the spelling errors:
Error: cluster-autoscaler/cloudprovider/civo/civo_node_group.go:133:19: "deleteing" is a misspelling of "deleting"
Error: cluster-autoscaler/cloudprovider/volcengine/volcengine-go-sdk/service/autoscaling/service_autoscaling.go:51:55: "identifer" is a misspelling of "identifier"
Error: cluster-autoscaler/cloudprovider/volcengine/volcengine-go-sdk/service/ecs/service_ecs.go:51:52: "identifer" is a misspelling of "identifier"
All three of these are from vendored upstream libraries. Fixing them in this repo seems wrong. |
I agree with you, but after upgrading misspell, new misspellings were identified, so I just fixed them quickly. |
fixed :) |
| ServiceName = "autoscaling" // Name of service. | ||
| EndpointsID = ServiceName // ID to lookup a service endpoint with. | ||
| ServiceID = "auto_scaling" // ServiceID is a unique identifer of a specific service. | ||
| ServiceID = "auto_scaling" // ServiceID is a unique identifier of a specific service. |
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.
I agree with @adrianmoisey, we should not change this vendored code in (sorry if I sent you on a side quest). We should be able to get the CI to pass if we revert these two changes to cluster-autoscaler/cloudprovider/volcengine/volcengine-go-sdk, and then add that directory to the set of grep -v directories in hack/verify-spelling.sh
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.
no problem, fixed :) now hack/verify-spelling.sh doesn't complain
d9cb32f to
d9c2fbe
Compare
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: iamzili The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
hm, I didn't approve it :D |
|
/lgtm I believe authors auto-approve their own PRs in Kubernetes repos |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Just a small cleanup to use the maintained version of misspell, the K8s repo has already transitioned to this version.
client9/misspell#197 (comment)