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: cosign flags been ignored #2353

Merged
merged 1 commit into from Oct 18, 2022

Conversation

hectorj2f
Copy link
Contributor

Signed-off-by: Hector Fernandez hector@chainguard.dev

Summary

I found that the root command flags were ignored due to spf13/cobra#216.
This was also detected in our tests here https://github.com/sigstore/cosign/actions/runs/3275334427/jobs/5390046355#step:7:446.

Release Note

Documentation

@hectorj2f hectorj2f added the bug Something isn't working label Oct 18, 2022
@hectorj2f hectorj2f self-assigned this Oct 18, 2022
cpanato
cpanato previously approved these changes Oct 18, 2022
Copy link
Member

@cpanato cpanato left a comment

Choose a reason for hiding this comment

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

thank you

@codecov-commenter
Copy link

codecov-commenter commented Oct 18, 2022

Codecov Report

Merging #2353 (7874107) into main (d7503d6) will decrease coverage by 0.03%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #2353      +/-   ##
==========================================
- Coverage   30.24%   30.20%   -0.04%     
==========================================
  Files         136      136              
  Lines        8419     8429      +10     
==========================================
  Hits         2546     2546              
- Misses       5542     5552      +10     
  Partials      331      331              
Impacted Files Coverage Δ
cmd/cosign/cli/options/root.go 8.10% <0.00%> (-3.01%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Signed-off-by: Hector Fernandez <hector@chainguard.dev>
@cpanato cpanato merged commit 30bf1c0 into sigstore:main Oct 18, 2022
@github-actions github-actions bot added this to the v1.14.0 milestone Oct 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants