Migrate away from deprecated ioutil#156
Conversation
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: ibihim, 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 |
e85850f to
e5d88f9
Compare
|
New changes are detected. LGTM label has been removed. |
|
/retest |
e5d88f9 to
220ad2d
Compare
|
@sebrandon1: all tests passed! 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
Migration from
ioutiltoio/os:ioutil.ReadAllwithio.ReadAllinimagepolicy.goandimagepolicy_test.gofor reading configuration data from readers. [1] [2] [3]ioutil.WriteFilewithos.WriteFileinaudit.gofor writing audit policy files.Cleanup of deprecated imports:
ioutilimport statements fromimagepolicy.go,imagepolicy_test.go, andaudit.go. [1] [2] [3]