Migrate away from deprecated ioutil#292
Conversation
|
No actionable comments were generated in the recent review. 🎉 WalkthroughReplace deprecated ioutil calls with their modern os equivalents across reading and temp-file creation sites; remove now-unused Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes ✨ Finishing Touches
🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: sebrandon1 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
has one ioutil.
|
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain🏁 Script executed: Length of output: 1466 @xingxingxia @sebrandon1 Good catch! I've verified that However, this file is a generated file created by // Code generated for package v4_00_assets by go-bindata DO NOT EDIT. (@generated)To address this ioutil usage, you'll need to:
Would you like me to help investigate the bindata generation process or search for the command/script that generates this file? |
|
Yes, this is bindata so I didn't edit that file. |
|
Maybe it needs regenerated to be updated? |
|
I think that's a good plan. I wonder if that should be a separate PR because regenerating might encompass more changes than just ioutil. |
c6bfab3 to
882c6f7
Compare
|
@sebrandon1: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
ioutilhas been deprecated since Go 1.16: https://go.dev/doc/go1.16#ioutilTracking issue: redhat-best-practices-for-k8s/telco-bot#52