-
Notifications
You must be signed in to change notification settings - Fork 6.6k
fix: Lint Go code(#12522) #12523
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
fix: Lint Go code(#12522) #12523
Conversation
Signed-off-by: juunini <[email protected]>
Signed-off-by: juunini <[email protected]>
Codecov ReportBase: 47.76% // Head: 47.77% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #12523 +/- ##
=======================================
Coverage 47.76% 47.77%
=======================================
Files 246 246
Lines 41910 41910
=======================================
+ Hits 20020 20023 +3
+ Misses 19891 19889 -2
+ Partials 1999 1998 -1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
34fathombelow
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.
Let's keep things a little simpler to avoid additional imports.
| w.Close() | ||
|
|
||
| out, err := ioutil.ReadAll(r) | ||
| out, err := io.ReadAll(r) |
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.
| out, err := io.ReadAll(r) | |
| out, err := os.ReadAll(r) |
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.
0de07d8 to
32af28b
Compare
34fathombelow
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! Thanks so much for your contribution
* fix: `io/ioutil` to `io` Signed-off-by: juunini <[email protected]> * docs: add cloudmate in users Signed-off-by: juunini <[email protected]> --------- Signed-off-by: juunini <[email protected]>

Note on DCO:
If the DCO action in the integration test fails, one or more of your commits are not signed off. Please click on the Details link next to the DCO action for instructions on how to resolve this.
Checklist:
Description
[ISSUE #12522]
Change
io/utiltoio