Skip to content
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

【optimization】Use URL.Redacted method repleace redacted #18716

Merged
merged 1 commit into from
May 29, 2023

Conversation

lengrongfu
Copy link
Contributor

Thank you for contributing to Harbor!

Comprehensive Summary of your change

Issue being fixed

Fixes #(issue)

release-note/update

Please indicate you've done the following:

  • Well Written Title and Summary of the PR
  • Label the PR as needed. "release-note/ignore-for-release, release-note/new-feature, release-note/update, release-note/enhancement, release-note/community, release-note/breaking-change, release-note/docs, release-note/infra, release-note/deprecation"
  • Accepted the DCO. Commits without the DCO will delay acceptance.
  • Made sure tests are passing and test coverage is added if needed.
  • Considered the docs impact and opened a new docs issue or PR with docs changes if needed in website repository.

@lengrongfu lengrongfu requested a review from a team as a code owner May 23, 2023 06:26
@codecov
Copy link

codecov bot commented May 23, 2023

Codecov Report

Merging #18716 (7c06cfe) into main (1b1af4a) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

❗ Current head 7c06cfe differs from pull request most recent head 1a57815. Consider uploading reports for the commit 1a57815 to get more accurate results

Impacted file tree graph

@@            Coverage Diff             @@
##             main   #18716      +/-   ##
==========================================
- Coverage   67.39%   67.38%   -0.02%     
==========================================
  Files         980      980              
  Lines      106759   106730      -29     
  Branches     2665     2665              
==========================================
- Hits        71955    71919      -36     
- Misses      30941    30947       +6     
- Partials     3863     3864       +1     
Flag Coverage Δ
unittests 67.38% <100.00%> (-0.02%) ⬇️

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

Impacted Files Coverage Δ
src/lib/cache/util.go 76.47% <ø> (-12.00%) ⬇️
src/lib/cache/cache.go 100.00% <100.00%> (ø)

... and 12 files with indirect coverage changes

@lengrongfu
Copy link
Contributor Author

/label release-note/update

@lengrongfu lengrongfu force-pushed the opt/replace-redacted-method branch from 0af0907 to fc34f1c Compare May 23, 2023 10:12
@chlins chlins added the release-note/update Update or Fix label May 24, 2023
Copy link
Member

@chlins chlins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Contributor

@MinerYang MinerYang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@lengrongfu lengrongfu force-pushed the opt/replace-redacted-method branch from 7c06cfe to 5339719 Compare May 29, 2023 03:43
@lengrongfu
Copy link
Contributor Author

Excuse me, is there anything else I need to do for this PR?

@chlins chlins force-pushed the opt/replace-redacted-method branch from 5339719 to 1a57815 Compare May 29, 2023 06:22
@chlins
Copy link
Member

chlins commented May 29, 2023

Excuse me, is there anything else I need to do for this PR?

@lengrongfu Thanks, no additional steps need to do, will merge it after CI passed.

@AllForNothing AllForNothing merged commit 4652d75 into goharbor:main May 29, 2023
WilfredAlmeida pushed a commit to WilfredAlmeida/harbor that referenced this pull request Jul 8, 2023
use URL.Redacted method replease redacted

Signed-off-by: lengrongfu <[email protected]>
Signed-off-by: Wilfred Almeida <[email protected]>
WilfredAlmeida pushed a commit to WilfredAlmeida/harbor that referenced this pull request Jul 8, 2023
use URL.Redacted method replease redacted

Signed-off-by: lengrongfu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/update Update or Fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants