comment
Signed-off-by: Meredith Lancaster <malancas@github.com>
This commit is contained in:
parent
258c69cd26
commit
f46cccbab4
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue