Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
Signed-off-by: laurentsimon <[email protected]>
  • Loading branch information
laurentsimon committed Aug 15, 2023
1 parent 219d7ef commit 27cd038
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion verifiers/internal/gcb/slsaprovenance/v0.1/provenance.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func New(payload []byte) (iface.Provenance, error) {
if err := json.Unmarshal(payload, &provenance); err != nil {
return nil, fmt.Errorf("%w: %s", serrors.ErrorInvalidDssePayload, err.Error())
}
fmt.Println(provenance.StatementHeader)

// Validate the intoto type.
if provenance.StatementHeader.Type != statementInToto {
return nil, fmt.Errorf("%w: expected statement header type '%s', got '%s'",
Expand Down

0 comments on commit 27cd038

Please sign in to comment.