Skip to content

Commit

Permalink
Revert verify.go to a nolint.
Browse files Browse the repository at this point in the history
  • Loading branch information
bendory committed Mar 31, 2023
1 parent c3d4b0e commit 2e7624a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/trustedresources/verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ func verifyInterface(obj interface{}, verifier signature.Verifier, signature []b

if err := verifier.VerifySignature(bytes.NewReader(signature), bytes.NewReader(h.Sum(nil))); err != nil {
// FixMe: changing this %v to a %w results in failed integration tests.
return fmt.Errorf("%w: %w", ErrResourceVerificationFailed, err)
return fmt.Errorf("%w:%v", ErrResourceVerificationFailed, err.Error()) // nolint:errorlint
}

return nil
Expand Down

0 comments on commit 2e7624a

Please sign in to comment.