From f46cccbab4ecfdcfd9dd61743f2b53d19cf375ea Mon Sep 17 00:00:00 2001 From: Meredith Lancaster Date: Tue, 7 Jan 2025 12:03:49 -0700 Subject: [PATCH] comment Signed-off-by: Meredith Lancaster --- pkg/cmd/attestation/api/client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/cmd/attestation/api/client.go b/pkg/cmd/attestation/api/client.go index 02b4d6758..20df51165 100644 --- a/pkg/cmd/attestation/api/client.go +++ b/pkg/cmd/attestation/api/client.go @@ -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