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 a bug where an error would send duplicate results. #1797

Merged
merged 1 commit into from
Apr 24, 2022

Conversation

vaikas
Copy link
Contributor

@vaikas vaikas commented Apr 24, 2022

Signed-off-by: Ville Aikas vaikas@chainguard.dev

Summary

Fix a bug where a malformed JSON would result in early send to channel, resulting in two events.

Ticket Link

Fixes

Release Note


Signed-off-by: Ville Aikas <vaikas@chainguard.dev>
@codecov-commenter
Copy link

codecov-commenter commented Apr 24, 2022

Codecov Report

Merging #1797 (54e56fe) into main (f08ae46) will increase coverage by 0.08%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##             main    #1797      +/-   ##
==========================================
+ Coverage   32.61%   32.69%   +0.08%     
==========================================
  Files         147      147              
  Lines        9303     9303              
==========================================
+ Hits         3034     3042       +8     
+ Misses       5915     5906       -9     
- Partials      354      355       +1     
Impacted Files Coverage Δ
pkg/cosign/kubernetes/webhook/validator.go 77.31% <50.00%> (+1.76%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f08ae46...54e56fe. Read the comment docs.

@vaikas vaikas merged commit e71ae68 into sigstore:main Apr 24, 2022
@vaikas vaikas deleted the fix-early-channel-send branch April 24, 2022 21:55
@github-actions github-actions bot added this to the v1.8.0 milestone Apr 24, 2022
mlieberman85 pushed a commit to mlieberman85/cosign that referenced this pull request May 6, 2022
Signed-off-by: Ville Aikas <vaikas@chainguard.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants