Skip to content
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

refactor: move from io/ioutil to io and os package #1843

Merged
merged 1 commit into from
Oct 7, 2021
Merged

refactor: move from io/ioutil to io and os package #1843

merged 1 commit into from
Oct 7, 2021

Conversation

Juneezee
Copy link
Contributor

@Juneezee Juneezee commented Oct 6, 2021

The io/ioutil package has been deprecated in Go 1.16 (See https://golang.org/doc/go1.16#ioutil). Since atlantis has upgraded to Go 1.17 (#1766), this PR replaces the existing io/ioutil functions with their new definitions in io and os packages.

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>
@Juneezee Juneezee requested a review from a team as a code owner October 6, 2021 04:06
@chenrui333
Copy link
Member

Thanks @Juneezee!

@chenrui333 chenrui333 merged commit 38cf7b0 into runatlantis:master Oct 7, 2021
krrrr38 pushed a commit to krrrr38/atlantis that referenced this pull request Dec 16, 2022
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants