From 0665fb4916d971c2f426427fa1a1470e559966ed Mon Sep 17 00:00:00 2001 From: Meredith Lancaster Date: Wed, 6 Nov 2024 09:45:42 -0700 Subject: [PATCH] comments Signed-off-by: Meredith Lancaster --- pkg/cmd/attestation/verification/sigstore.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/cmd/attestation/verification/sigstore.go b/pkg/cmd/attestation/verification/sigstore.go index 86000405b77..66005d62e69 100644 --- a/pkg/cmd/attestation/verification/sigstore.go +++ b/pkg/cmd/attestation/verification/sigstore.go @@ -216,6 +216,7 @@ func (v *LiveSigstoreVerifier) Verify(attestations []*api.Attestation, policy ve // move onto the next attestation in the for loop if verification fails continue } + // otherwise, add the result to the results slice and increment verifyCount results[verifyCount] = apr verifyCount++ }