Skip to content

Conversation

@xuezhaojun
Copy link
Member

Summary

This PR removes the unused DumpSecret function from the selfsigned authentication package. The function was not being used anywhere in the codebase and has been replaced by more appropriate alternatives.

Changes

  • Removed unused DumpSecret function that accepted controller-runtime client
  • Removed corresponding unused import for sigs.k8s.io/controller-runtime/pkg/client

Motivation

Code cleanup to remove dead code and reduce maintenance burden.

🤖 Generated with Claude Code

Co-Authored-By: Claude [email protected]

The DumpSecret function is no longer used anywhere in the codebase.
This cleanup removes the unused code to maintain code quality.

Signed-off-by: xuezhaojun <[email protected]>
@openshift-ci openshift-ci bot requested a review from qiujian16 November 19, 2025 08:53
@openshift-ci
Copy link

openshift-ci bot commented Nov 19, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: xuezhaojun

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot requested a review from yue9944882 November 19, 2025 08:53
@codecov
Copy link

codecov bot commented Nov 19, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 13.92%. Comparing base (30c62d2) to head (78ec342).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #249      +/-   ##
==========================================
+ Coverage   13.84%   13.92%   +0.08%     
==========================================
  Files          39       39              
  Lines        2254     2241      -13     
==========================================
  Hits          312      312              
+ Misses       1913     1900      -13     
  Partials       29       29              
Flag Coverage Δ
unit 13.92% <ø> (+0.08%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@qiujian16
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Nov 19, 2025
@openshift-merge-bot openshift-merge-bot bot merged commit 179dfc0 into open-cluster-management-io:main Nov 19, 2025
8 checks passed
@xuezhaojun xuezhaojun deleted the remove-unused-function branch November 20, 2025 01:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants