Update pkg/cmd/attestation/api/client.go

Co-authored-by: Phill MV <phillmv@github.com>
This commit is contained in:
Meredith Lancaster 2025-01-07 15:14:53 -07:00 committed by GitHub
parent 51a74aed1d
commit 8d89dd97fd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -167,7 +167,7 @@ func (c *LiveClient) getAttestations(url, name, digest string, limit int) ([]*At
return attestations, nil
}
func (c *LiveClient) fetchBundlesByURL(attestations []*Attestation) ([]*Attestation, error) {
func (c *LiveClient) fetchBundleFromAttestations(attestations []*Attestation) ([]*Attestation, error) {
fetched := make([]*Attestation, len(attestations))
g := errgroup.Group{}
for i, a := range attestations {