-
Notifications
You must be signed in to change notification settings - Fork 260
refactor: move from io/ioutil to io and os packages #1096
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
Conversation
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
rbtr
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.
thanks, lgtm!
/cc @ramiro-gamarra
|
@rbtr The Azure pipelines seems to be rate limited. I just received an email saying that the requests are being blocked. |
|
we've got some unrelated pipeline problems being fixed; will need you to rebase the PR when that is all fixed and we can move this forward |
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
The io/ioutil package has been deprecated as of Go 1.16, see https://golang.org/doc/go1.16#ioutil. This commit replaces the existing io/ioutil functions with their new definitions in io and os packages. Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
|
hey @Juneezee we squash and merge, so unless there's conflicts you don't need to keep rebasing a minor change like this 🙂 it confuses the CI |
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
JungukCho
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! Thank you for contributing codes.
|
tyvm @Juneezee |
Reason for Change:
The
io/ioutilpackage has been deprecated in Go 1.16 (See https://golang.org/doc/go1.16#ioutil). Since this project has been upgraded to Go 1.17 in #1042, this PR replaces the existingio/ioutilfunctions with their new definitions inioandospackages.Issue Fixed:
Requirements:
Notes: