diff --git a/pkg/cosign/fetch.go b/pkg/cosign/fetch.go index 8d1b4124649..1fc761157ea 100644 --- a/pkg/cosign/fetch.go +++ b/pkg/cosign/fetch.go @@ -84,6 +84,7 @@ func FetchSignaturesForReference(ctx context.Context, ref name.Reference, opts . for i, sig := range l { i, sig := i, sig g.Go(func() error { + var err error signatures[i].Payload, err = sig.Payload() if err != nil { return err