Skip to content

Commit

Permalink
Remove unused error handler
Browse files Browse the repository at this point in the history
Signed-off-by: Cody Soyland <[email protected]>
  • Loading branch information
codysoyland committed Apr 12, 2024
1 parent 02db6f1 commit 052a12d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/webhook/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -1020,9 +1020,6 @@ func ValidatePolicyAttestationsForAuthorityWithBundle(ctx context.Context, ref n

// sha256 of statement
statementDigest := sha256.Sum256(statementBytes)
if err != nil {
return nil, err
}

// TODO: generate "signature ID" from the signature?
sig := string(bundle.GetDsseEnvelope().Signatures[0].Sig)
Expand Down

0 comments on commit 052a12d

Please sign in to comment.