Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Bob Callaway <[email protected]>
Signed-off-by: Hayden B <[email protected]>
  • Loading branch information
haydentherapper and bobcallaway committed Jan 16, 2025
1 parent b32ab71 commit 54e84b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/rekor-cli/app/get.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ var getCmd = &cobra.Command{
}
verifier, err := loadVerifier(rekorClient, strconv.FormatInt(treeID, 10))
if err != nil {
return nil, fmt.Errorf("retrieving rekor public key: %v", err)
return nil, fmt.Errorf("retrieving rekor public key: %w", err)
}
// verify log entry
e = entry
Expand Down Expand Up @@ -154,7 +154,7 @@ var getCmd = &cobra.Command{
}
verifier, err := loadVerifier(rekorClient, strconv.FormatInt(treeID, 10))
if err != nil {
return nil, fmt.Errorf("retrieving rekor public key: %v", err)
return nil, fmt.Errorf("retrieving rekor public key: %w", err)
}

if err := compareEntryUUIDs(params.EntryUUID, k); err != nil {
Expand Down

0 comments on commit 54e84b0

Please sign in to comment.