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 accessory import issue #19058

Merged
merged 1 commit into from
Jul 31, 2023

Conversation

wy65701436
Copy link
Contributor

@wy65701436 wy65701436 commented Jul 31, 2023

fixes #19041

The issuse was introduced by #17087. To move the import to main since the anonymous imports only allowed at main in go-cilint.

Fixes it:
To add the anonymous imports at the jobservice main since the gc job needs to remove accessory when to delete an artifact

Thank you for contributing to Harbor!

Comprehensive Summary of your change

Issue being fixed

Fixes #(issue)

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.

@wy65701436 wy65701436 requested a review from a team as a code owner July 31, 2023 06:25
@wy65701436 wy65701436 assigned zyyw and unassigned OrlinVasilev and MinerYang Jul 31, 2023
@wy65701436 wy65701436 changed the title fix accessory import issue [cherry-pick]fix accessory import issue Jul 31, 2023
@codecov
Copy link

codecov bot commented Jul 31, 2023

Codecov Report

Merging #19058 (18250ed) into release-2.8.0 (19d6963) will decrease coverage by 22.67%.
The diff coverage is n/a.

Impacted file tree graph

@@                Coverage Diff                 @@
##           release-2.8.0   #19058       +/-   ##
==================================================
- Coverage          67.40%   44.73%   -22.67%     
==================================================
  Files                984      235      -749     
  Lines             107025    13089    -93936     
  Branches            2670     2670               
==================================================
- Hits               72140     5856    -66284     
+ Misses             31005     6940    -24065     
+ Partials            3880      293     -3587     
Flag Coverage Δ
unittests 44.73% <ø> (-22.67%) ⬇️

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

see 752 files with indirect coverage changes

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

fixes goharbor#19041

The issuse was introduced by goharbor#17087.
To move the import to main since the anonymous imports only allowed at main in go-cilint.

Fixes it:
To add the anonymous imports at the jobservice main since the gc job needs to remove accessory when to delete an artifact

Signed-off-by: wang yan <[email protected]>
@wy65701436 wy65701436 merged commit 8b2a7e9 into goharbor:release-2.8.0 Jul 31, 2023
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.

5 participants