var naming
Signed-off-by: Meredith Lancaster <malancas@github.com>
This commit is contained in:
parent
5d6ffa3207
commit
84299b7d57
1 changed files with 2 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue