Signed-off-by: Meredith Lancaster <malancas@github.com>
This commit is contained in:
Meredith Lancaster 2025-01-07 12:03:49 -07:00
parent 258c69cd26
commit f46cccbab4

View file

@ -191,6 +191,7 @@ func (c *LiveClient) fetchBundlesByURL(attestations []*Attestation) ([]*Attestat
}
func (c *LiveClient) fetchBundleByURL(a *Attestation) (*bundle.Bundle, error) {
// for now, we fallback to the bundle field if the bundle URL is empty
if a.BundleURL == "" {
c.logger.VerbosePrintf("Bundle URL is empty. Falling back to bundle field\n\n")
return a.Bundle, nil