Skip to content

Commit

Permalink
fix: typo in error
Browse files Browse the repository at this point in the history
Signed-off-by: Vishal Choudhary <[email protected]>
  • Loading branch information
vishal-chdhry committed Nov 9, 2023
1 parent 6b07320 commit 7b85628
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cosign/fetch.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func FetchAttestationsForReference(ctx context.Context, ref name.Reference, opts
}

if len(l) > maxAllowedSigsOrAtts {
return nil, fmt.Errorf("maximum number of signatures on an image is %d, found %d", maxAllowedSigsOrAtts, len(l))
return nil, fmt.Errorf("maximum number of attestations on an image is %d, found %d", maxAllowedSigsOrAtts, len(l))
}

attestations := make([]AttestationPayload, len(l))
Expand Down

0 comments on commit 7b85628

Please sign in to comment.