var naming

Signed-off-by: Meredith Lancaster <malancas@github.com>
This commit is contained in:
Meredith Lancaster 2025-02-06 12:50:30 -07:00
parent 5d6ffa3207
commit 84299b7d57

View file

@ -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) {