From 2cb49db33196c17985ff90fd3217d05d43638013 Mon Sep 17 00:00:00 2001 From: Vishal Choudhary Date: Sun, 6 Oct 2024 18:19:37 +0530 Subject: [PATCH] fix: remove unnecessary assignment Signed-off-by: Vishal Choudhary --- pkg/verify/tlog.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkg/verify/tlog.go b/pkg/verify/tlog.go index 584ca9c..a41a822 100644 --- a/pkg/verify/tlog.go +++ b/pkg/verify/tlog.go @@ -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 {