From 84299b7d576994c05aef70ff1f7abc2aab10e23b Mon Sep 17 00:00:00 2001 From: Meredith Lancaster Date: Thu, 6 Feb 2025 12:50:30 -0700 Subject: [PATCH] var naming Signed-off-by: Meredith Lancaster --- pkg/cmd/attestation/verification/attestation.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/cmd/attestation/verification/attestation.go b/pkg/cmd/attestation/verification/attestation.go index f613ba2d5..81c8c8813 100644 --- a/pkg/cmd/attestation/verification/attestation.go +++ b/pkg/cmd/attestation/verification/attestation.go @@ -54,12 +54,12 @@ func GetLocalAttestations(path string) ([]*api.Attestation, error) { } func loadBundleFromJSONFile(path string) ([]*api.Attestation, error) { - localAttestation, err := bundle.LoadJSONFromPath(path) + b, err := bundle.LoadJSONFromPath(path) if err != nil { return nil, err } - return []*api.Attestation{{Bundle: localAttestation}}, nil + return []*api.Attestation{{Bundle: b}}, nil } func loadBundlesFromJSONLinesFile(path string) ([]*api.Attestation, error) {