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:23 -07:00 committed by GitHub
parent 42cb2547cd
commit 51a74aed1d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -172,7 +172,7 @@ func (c *LiveClient) fetchBundlesByURL(attestations []*Attestation) ([]*Attestat
g := errgroup.Group{}
for i, a := range attestations {
g.Go(func() error {
b, err := c.fetchBundleByURL(a)
b, err := c.GetBundle(url)
if err != nil {
return fmt.Errorf("failed to fetch bundle with URL: %w", err)
}