-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
fix: Lint Go code(#12522) #12523
fix: Lint Go code(#12522) #12523
Conversation
Signed-off-by: juunini <juuni.ni.i@gmail.com>
Signed-off-by: juunini <juuni.ni.i@gmail.com>
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. |
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.
@@ -185,7 +185,7 @@ SyncPolicy: Automated | |||
printAppSetSummaryTable(tt.appSet) | |||
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
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 <juuni.ni.i@gmail.com> * docs: add cloudmate in users Signed-off-by: juunini <juuni.ni.i@gmail.com> --------- Signed-off-by: juunini <juuni.ni.i@gmail.com>
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/util
toio