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

[cherry-pick] fix: fix replication list projects with pure numberic name #19093

Conversation

chlins
Copy link
Member

@chlins chlins commented Aug 3, 2023

Quote the project name when listing projects in the replication, resolve the issue of pure number name of project.

Thank you for contributing to Harbor!

Comprehensive Summary of your change

Issue being fixed

Fixes #19027

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.

Quote the project name when listing projects in the replication, resolve
the issue of pure number name of project.

Signed-off-by: chlins <chenyuzh@vmware.com>
@codecov
Copy link

codecov bot commented Aug 3, 2023

Codecov Report

Merging #19093 (52efec1) into release-2.7.0 (e767fe2) will decrease coverage by 22.27%.
Report is 1 commits behind head on release-2.7.0.
The diff coverage is n/a.

Impacted file tree graph

@@                Coverage Diff                 @@
##           release-2.7.0   #19093       +/-   ##
==================================================
- Coverage          66.39%   44.13%   -22.27%     
==================================================
  Files               1012      245      -767     
  Lines             108652    13396    -95256     
  Branches            2677     2677               
==================================================
- Hits               72144     5912    -66232     
+ Misses             32543     7198    -25345     
+ Partials            3965      286     -3679     
Flag Coverage Δ
unittests 44.13% <ø> (-22.27%) ⬇️

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

see 771 files with indirect coverage changes

Copy link
Contributor

@wy65701436 wy65701436 left a comment

Choose a reason for hiding this comment

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

lgtm

@chlins chlins merged commit 60ba848 into goharbor:release-2.7.0 Aug 7, 2023
14 of 15 checks passed
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.

None yet

4 participants