-
Notifications
You must be signed in to change notification settings - Fork 17
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 some golangci-lint warnings #144
base: main
Are you sure you want to change the base?
Conversation
Oops, forgot to add a DCO. Anyways, waiting for a review after which I'll open a new PR with a DCO |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hi @pranjalkole, thanks for the contribution!
While you are right about this PR not fixing all the lint errors/warnings (see https://github.com/veraison/corim/actions/runs/12573760578/job/35188941045?pr=144#step:7:1), it's still a net improvement that is worth merging.
You don't need to open an new PR, just follow the instructions at https://github.com/veraison/corim/pull/144/checks?check_run_id=35047090555 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks for your contributions
hi @pranjalkole, could you please fix the DCO check as per #144 (comment) |
Signed-off-by: Pranjal Kole <[email protected]>
tv
parameter in thecborRoundTripper
andjsonRoundTripper
functions to a pointer incots/eat_cwtclaims_test.go
comid/instance_test.go
0 == bytes.Compare(a, b)
tobytes.Equal(a, b)
incots/cas_and_tas_test.go
mapLen > math.MaxUint32
inencoding/cbor.go
This is a pretty small PR to get familiar with the codebase. I'm also not sure if this would be a useful PR as
make presubmit
gives a lot of other errors. Let me know if I should fix the others as well.