-
Notifications
You must be signed in to change notification settings - Fork 3k
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
clean package "io/ioutil" ,because "io" and "os" can replaced it totally #22016
Conversation
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.
Thanks for your pull request!
Could you explain, in the commit description, why you are making this change?
Also, what does "for advanced Golang" mean? Did you mean "to accommodate newer Golang versions"?
@pchaigno |
I understand that but we need that explanation in the commit message. |
I understand that but we need that explanation in the commit message. |
The commit is ill-formatted. There should be two new lines between the commit title and it's description and the commit title should be less than 75 characters. This is why GitHub and checkpatch are currently confused. |
@pchaigno |
It's better but your title is still:
You need two newlines to separate a commit's title from its description. |
because "io" and "os" package can replaced it totally. according to the url : https://go.dev/doc/go1.16#ioutil Signed-off-by: yanggang <gang.yang@daocloud.io>
now , the commit style is ok? |
@yanggangtony Yep, looks good now. Next time I'd advise to look at it with |
@pchaigno |
The smoke tests are passing and, given the changes, I don't think we need to run the full end-to-end tests. cilium/proxy is missing a review but the changes for that codeowners aren't really specific to the proxy, so probably okay to skip. Merging. Thanks @yanggangtony for your contribution! |
Signed-off-by: yanggang gang.yang@daocloud.io
We should clean all io/util package according the url: https://go.dev/doc/go1.16#ioutil
/kind cleanup