return fetch attestations err directly
Signed-off-by: Meredith Lancaster <malancas@github.com>
This commit is contained in:
parent
fc984c91d0
commit
311f2b2e23
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ func (c *LiveClient) GetByRepoAndDigest(repo, digest string, limit int) ([]*Atte
|
|||
url := c.buildRepoAndDigestURL(repo, digest)
|
||||
attestations, err := c.getAttestations(url, repo, digest, limit)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("failed to fetch attestation by repo and digest: %w", err)
|
||||
return nil, err
|
||||
}
|
||||
|
||||
bundles, err := c.fetchBundlesByURL(attestations)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue