From 1d807c22915282d5d576c6406828ef60ec5eb0db Mon Sep 17 00:00:00 2001 From: Meredith Lancaster Date: Mon, 13 Jan 2025 12:50:58 -0700 Subject: [PATCH] add missing return statement Signed-off-by: Meredith Lancaster --- pkg/cmd/attestation/api/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cmd/attestation/api/client.go b/pkg/cmd/attestation/api/client.go index f6991261c..359bdad54 100644 --- a/pkg/cmd/attestation/api/client.go +++ b/pkg/cmd/attestation/api/client.go @@ -208,7 +208,7 @@ func (c *LiveClient) getBundle(url string) (*bundle.Bundle, error) { var out []byte decompressed, err := snappy.Decode(out, body) if err != nil { - fmt.Errorf("failed to decompress with snappy: %w", err) + return fmt.Errorf("failed to decompress with snappy: %w", err) } var pbBundle v1.Bundle