From fee21ee4f852192ce875a8f865becc8657dbef0e Mon Sep 17 00:00:00 2001 From: David Dworken Date: Thu, 22 Sep 2022 18:11:35 -0700 Subject: [PATCH] Pass in ctx --- client/lib/slsa.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/lib/slsa.go b/client/lib/slsa.go index c90cbdf..6fd4e18 100644 --- a/client/lib/slsa.go +++ b/client/lib/slsa.go @@ -22,7 +22,7 @@ func verify(ctx *context.Context, provenance []byte, artifactHash, source, branc ExpectedVersionedTag: &versionTag, } builderOpts := &options.BuilderOpts{} - _, _, err := verifiers.Verify(context.TODO(), provenance, artifactHash, provenanceOpts, builderOpts) + _, _, err := verifiers.Verify(*ctx, provenance, artifactHash, provenanceOpts, builderOpts) return err }