Skip to content

Commit

Permalink
fix: remove unnecessary assignment
Browse files Browse the repository at this point in the history
Signed-off-by: Vishal Choudhary <[email protected]>
  • Loading branch information
vishal-chdhry committed Oct 6, 2024
1 parent 3dd6aa1 commit 2cb49db
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/verify/tlog.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,7 @@ func VerifyArtifactTransparencyLog(entity SignedEntity, trustedMaterial root.Tru
return nil, fmt.Errorf("unable to locate log entry %d", logIndex)
}

logEntry := resp.Payload

for _, v := range logEntry {
for _, v := range resp.Payload {
v := v
err = rekorVerify.VerifyLogEntry(context.TODO(), &v, *verifier)
if err != nil {
Expand Down

0 comments on commit 2cb49db

Please sign in to comment.