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

Fix the channel that never receives a value #18139

Merged
merged 1 commit into from May 19, 2023
Merged

Fix the channel that never receives a value #18139

merged 1 commit into from May 19, 2023

Conversation

iAklis
Copy link
Contributor

@iAklis iAklis commented Jan 29, 2023

Fix the channel that never receives a value.

Btw, Fix the code with the linter's recommendation by https://github.com/goharbor/harbor/blob/main/CONTRIBUTING.md#develop-build-and-test

Signed-off-by: iAklis chenpinwei@gmail.com

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.

@iAklis iAklis requested a review from a team as a code owner January 29, 2023 09:47
@zyyw zyyw assigned wy65701436 and unassigned stonezdj and zyyw Jan 30, 2023
@codecov
Copy link

codecov bot commented Jan 30, 2023

Codecov Report

Merging #18139 (a33cee4) into main (bf7c82b) will increase coverage by 0.03%.
The diff coverage is n/a.

❗ Current head a33cee4 differs from pull request most recent head 52bceae. Consider uploading reports for the commit 52bceae to get more accurate results

Impacted file tree graph

@@            Coverage Diff             @@
##             main   #18139      +/-   ##
==========================================
+ Coverage   67.37%   67.41%   +0.03%     
==========================================
  Files         980      984       +4     
  Lines      106749   107018     +269     
  Branches     2668     2669       +1     
==========================================
+ Hits        71926    72141     +215     
- Misses      30960    30996      +36     
- Partials     3863     3881      +18     
Flag Coverage Δ
unittests 67.41% <ø> (+0.03%) ⬆️

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

see 25 files with indirect coverage changes

@iAklis
Copy link
Contributor Author

iAklis commented Jan 30, 2023

It turned out that the code was modified after running the code style check first, so the first item of the squashed commit message is related to the code style, and the second item is the target I want to modify.

Now I modify it like this.

@iAklis
Copy link
Contributor Author

iAklis commented Feb 7, 2023

It is always pending for lack of labels.

@chlins chlins added the release-note/update Update or Fix label Feb 8, 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

@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

fix the code with the linter's recommendation by https://github.com/goharbor/harbor/blob/main/CONTRIBUTING.md#develop-build-and-test

Signed-off-by: iAklis <chenpinwei@gmail.com>
@chlins chlins merged commit 6a79de7 into goharbor:main May 19, 2023
11 of 12 checks passed
@OrlinVasilev
Copy link
Member

@iAklis congratulations on merging your first PR here :))) welcome to the club:))

@iAklis iAklis deleted the fix_registryctl_backgroundcontext_done branch May 22, 2023 14:05
WilfredAlmeida pushed a commit to WilfredAlmeida/harbor that referenced this pull request Jul 8, 2023
fix the channel that never receives a value
fix the code with the linter's recommendation by https://github.com/goharbor/harbor/blob/main/CONTRIBUTING.md#develop-build-and-test

Signed-off-by: iAklis <chenpinwei@gmail.com>
Signed-off-by: Wilfred Almeida <60785452+WilfredAlmeida@users.noreply.github.com>
WilfredAlmeida pushed a commit to WilfredAlmeida/harbor that referenced this pull request Jul 8, 2023
fix the channel that never receives a value
fix the code with the linter's recommendation by https://github.com/goharbor/harbor/blob/main/CONTRIBUTING.md#develop-build-and-test

Signed-off-by: iAklis <chenpinwei@gmail.com>
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.

None yet

6 participants