Skip to content

Commit

Permalink
fix sentry wrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
fritterhoff committed Nov 25, 2024
1 parent 42ce803 commit 216f42a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cas/sectigocas/sectigocas.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ func (s *SectigoCAS) signCertificate(ctx context.Context, cr *x509.CertificateRe

}

ctx = wrapSentryTrace(ctx)
certificates, err := s.sslServiceClient.IssueCertificate(ctx, &pb.IssueSslRequest{
Issuer: issuer,
SubjectAlternativeNames: sans,
Expand Down Expand Up @@ -203,7 +202,6 @@ func wrapSentryTrace(ctx context.Context) context.Context {
}

func (s *SectigoCAS) CreateCertificate(ctx context.Context, req *apiv1.CreateCertificateRequest) (*apiv1.CreateCertificateResponse, error) {
ctx = wrapSentryTrace(ctx)
cert, chain, err := s.signCertificate(ctx, req.CSR)
if err != nil {
return nil, err
Expand All @@ -215,7 +213,6 @@ func (s *SectigoCAS) CreateCertificate(ctx context.Context, req *apiv1.CreateCer
}

func (s *SectigoCAS) RenewCertificate(ctx context.Context, req *apiv1.RenewCertificateRequest) (*apiv1.RenewCertificateResponse, error) {
ctx = wrapSentryTrace(ctx)
cert, chain, err := s.signCertificate(ctx, req.CSR)
if err != nil {
return nil, err
Expand Down

0 comments on commit 216f42a

Please sign in to comment.