CNF-23380: Migrate away from deprecated ioutil#292
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
WalkthroughReplaces deprecated Changesioutil deprecation cleanup
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 13 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (13 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
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
|
/retest |
882c6f7 to
1d5fcdc
Compare
|
@sebrandon1: This pull request references CNF-23380 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.0.0" version, but no target version was set. DetailsIn response to this:
Instructions 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 openshift-eng/jira-lifecycle-plugin repository. |
1d5fcdc to
969a042
Compare
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 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 |
969a042 to
e33a0e5
Compare
e33a0e5 to
f8c8603
Compare
f8c8603 to
fafa0d2
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
Summary by CodeRabbit