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

Update deprecated ioutil calls #1676

Merged
merged 1 commit into from
Dec 5, 2022

Conversation

thevilledev
Copy link
Contributor

The ioutil package has been deprecated since Go 1.16 and this project uses 1.19. This PR updates the code to use equivalent functions from the io and os packages.

Fixes #1675

Copy link
Contributor

@eikenb eikenb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool. Thanks for the cleanup.

@eikenb eikenb merged commit 07e568a into hashicorp:main Dec 5, 2022
@eikenb eikenb added the go Pull requests that update Go code label Dec 5, 2022
@thevilledev thevilledev deleted the chore/ioutil-overhaul branch December 7, 2022 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

consul-template uses deprecated Go package 'ioutil'
2 participants