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

Remove os.Kill in signal handling #16111

Merged
merged 1 commit into from
Jul 5, 2022
Merged

Remove os.Kill in signal handling #16111

merged 1 commit into from
Jul 5, 2022

Conversation

heylongdacoder
Copy link
Contributor

os.Kill cannot be trapped. May refer to SA1016

Signed-off-by: heylongdacoder heylongdacoder@gmail.com

Signed-off-by: heylongdacoder <heylongdacoder@gmail.com>
@codecov
Copy link

codecov bot commented Dec 13, 2021

Codecov Report

Merging #16111 (47b3769) into main (10d3594) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main   #16111   +/-   ##
=======================================
  Coverage   66.78%   66.78%           
=======================================
  Files         941      941           
  Lines       77924    77924           
  Branches     2293     2293           
=======================================
+ Hits        52044    52045    +1     
+ Misses      21859    21858    -1     
  Partials     4021     4021           
Flag Coverage Δ
unittests 66.78% <100.00%> (+<0.01%) ⬆️

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

Impacted Files Coverage Δ
src/jobservice/runtime/bootstrap.go 49.67% <100.00%> (ø)
src/pkg/scan/rest/v1/client_pool.go 88.23% <100.00%> (ø)
src/core/api/internal.go 40.00% <0.00%> (-13.34%) ⬇️
src/controller/event/topic.go 1.80% <0.00%> (-7.21%) ⬇️
...es/vulnerability/vulnerability-config.component.ts 55.55% <0.00%> (+8.73%) ⬆️
src/common/rbac/system/namespace.go 44.44% <0.00%> (+11.11%) ⬆️
src/lib/cache/util.go 89.47% <0.00%> (+15.78%) ⬆️

@stonezdj stonezdj requested a review from chlins June 1, 2022 02:15
@github-actions
Copy link

github-actions bot commented Jul 5, 2022

This PR is being marked stale due to a period of inactivty. If this PR is still relevant, please comment or remove the stale label. Otherwise, this PR will close in 30 days.

@github-actions github-actions bot added the Stale label Jul 5, 2022
@Vad1mo Vad1mo removed the Stale label Jul 5, 2022
@Vad1mo Vad1mo self-requested a review July 5, 2022 10:02
@Vad1mo Vad1mo added the release-note/enhancement Label to mark PR to be added under release notes as enhancement label Jul 5, 2022
@Vad1mo Vad1mo merged commit 5b52ec1 into goharbor:main Jul 5, 2022
sluetze pushed a commit to sluetze/harbor that referenced this pull request Oct 29, 2022
os.Kill cannot be trapped. May refer to SA1016
mcsage pushed a commit to mcsage/harbor that referenced this pull request Feb 16, 2023
os.Kill cannot be trapped. May refer to SA1016

Signed-off-by: Stephan Hohn <stephan.hohn@tech11.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/enhancement Label to mark PR to be added under release notes as enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants