-
Notifications
You must be signed in to change notification settings - Fork 423
Migrate away from deprecated ioutil #7279
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
base: main
Are you sure you want to change the base?
Conversation
WalkthroughTwo files are updated to migrate from the deprecated Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes These are straightforward, homogeneous refactoring changes following a standard library deprecation pattern with no logic modifications or behavioral changes. ✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro Cache: Disabled due to data retention organization setting Knowledge base: Disabled due to 📒 Files selected for processing (2)
🧰 Additional context used📓 Path-based instructions (1)**⚙️ CodeRabbit configuration file
Files:
🧬 Code graph analysis (1)support/thirdparty/kubernetes/pkg/credentialprovider/config.go (1)
🔇 Additional comments (2)
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.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@sebrandon1: The following tests failed, say
Full PR test history. Your PR dashboard. 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 kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
@sebrandon1 thanks for the PR! You'll need to include a body message with your commit per https://github.com/openshift/hypershift?tab=contributing-ov-file#readme for |
ioutilhas been deprecated since Go 1.16: https://go.dev/doc/go1.16#ioutilGo standard library modernization:
ioutil.ReadFilewithos.ReadFileinsupport/thirdparty/kubernetes/pkg/credentialprovider/config.goto align with Go's standard library deprecations. [1] [2]ioutiltoiofor stream discarding inpkg/etcdcli/etcdcli.go, and replacedioutil.Discardwithio.Discardin the gRPC logger configuration. [1] [2]Tracking issue: redhat-best-practices-for-k8s/telco-bot#52