Skip to content

Commit aa0d30b

Browse files
committed
lint
Signed-off-by: Jose I. Paris <jiparis@chainloop.dev>
1 parent 4c632d0 commit aa0d30b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/controlplane/pkg/biz/attestation.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func (uc *AttestationUseCase) UploadAttestationToCAS(ctx context.Context, conten
4949
ctx, span := otelx.Start(ctx, attestationTracer, "AttestationUseCase.UploadAttestationToCAS")
5050
defer span.End()
5151

52-
if err := uc.CASClient.Upload(ctx, string(backend.Provider), backend.SecretName, backend.OrganizationID, bytes.NewBuffer(content), fmt.Sprintf("attestation-%s.json", workflowRunID), digest.String()); err != nil {
52+
if err := uc.Upload(ctx, string(backend.Provider), backend.SecretName, backend.OrganizationID, bytes.NewBuffer(content), fmt.Sprintf("attestation-%s.json", workflowRunID), digest.String()); err != nil {
5353
otelx.RecordError(span, err)
5454
return err
5555
}

0 commit comments

Comments
 (0)