From d1e6dc4d7c221e4570b4350735fb5b146c369bc9 Mon Sep 17 00:00:00 2001 From: Ramon Petgrave Date: Tue, 21 May 2024 18:52:48 +0000 Subject: [PATCH] fix docstring Signed-off-by: Ramon Petgrave --- verifiers/internal/gcb/verifier.go | 2 +- verifiers/internal/gha/verifier.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/verifiers/internal/gcb/verifier.go b/verifiers/internal/gcb/verifier.go index 39c163b15..5e208eede 100644 --- a/verifiers/internal/gcb/verifier.go +++ b/verifiers/internal/gcb/verifier.go @@ -48,7 +48,7 @@ func (v *GCBVerifier) VerifyNpmPackage(ctx context.Context, return nil, nil, serrors.ErrorNotSupported } -// VerifyNpmPackage verifies an npm package tarball. +// VerifyNpmPackageWithSigstoreTufClient verifies an npm package tarball. func (v *GCBVerifier) VerifyNpmPackageWithSigstoreTufClient(ctx context.Context, attestations []byte, tarballHash string, provenanceOpts *options.ProvenanceOpts, diff --git a/verifiers/internal/gha/verifier.go b/verifiers/internal/gha/verifier.go index d9e66c3c1..8f65d2457 100644 --- a/verifiers/internal/gha/verifier.go +++ b/verifiers/internal/gha/verifier.go @@ -339,7 +339,7 @@ func (v *GHAVerifier) VerifyNpmPackage(ctx context.Context, return v.VerifyNpmPackageWithSigstoreTufClient(ctx, attestations, tarballHash, provenanceOpts, builderOpts, sigstoreTufClient) } -// VerifyNpmPackage verifies an npm package tarball. +// VerifyNpmPackageWithSigstoreTufClient verifies an npm package tarball. func (v *GHAVerifier) VerifyNpmPackageWithSigstoreTufClient(ctx context.Context, attestations []byte, tarballHash string, provenanceOpts *options.ProvenanceOpts,