diff --git a/pkg/cmd/attestation/api/client.go b/pkg/cmd/attestation/api/client.go index 20df51165..9c5979d46 100644 --- a/pkg/cmd/attestation/api/client.go +++ b/pkg/cmd/attestation/api/client.go @@ -209,7 +209,6 @@ func (c *LiveClient) fetchBundleByURL(a *Attestation) (*bundle.Bundle, error) { return nil, fmt.Errorf("unexpected status code: %d", resp.StatusCode) } - // parse the URL to get the host and path body, err := io.ReadAll(resp.Body) if err != nil { return nil, fmt.Errorf("failed to read blob storage response body: %w", err)