Skip to content

Conversation

alokgoswami-ag
Copy link

Summary

This PR is a follow-up to #29912 by @Shilpa-Gokul. It refactors the RedactBearerToken function to precompile regex patterns outside the function for better performance and readability.

Details

  • Avoids recompiling regex on each function call.

This improvement complements the changes in #29912. Please consider merging this after or alongside the original PR.

Thanks for reviewing!

@openshift-ci openshift-ci bot requested review from deads2k and p0lyn0mial October 7, 2025 04:41
Copy link
Contributor

openshift-ci bot commented Oct 7, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: alokgoswami-ag
Once this PR has been reviewed and has the lgtm label, please assign dgoodwin for approval. For more information see the Code Review Process.

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants