Skip to content

Commit 73f97e2

Browse files
authored
Ignore non-constant format string linting error (#2068)
1 parent fdaa665 commit 73f97e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

acme/order.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,7 @@ func (o *Order) Finalize(ctx context.Context, db DB, csr *x509.CertificateReques
309309
// Add subproblem for webhook errors, others can be added later.
310310
var webhookErr *webhook.Error
311311
if errors.As(err, &webhookErr) {
312+
//nolint:govet // ignore non-constant format string
312313
acmeError := NewDetailedError(ErrorUnauthorizedType, webhookErr.Error())
313314
acmeError.AddSubproblems(Subproblem{
314315
Type: fmt.Sprintf("urn:smallstep:webhook:error:%s", webhookErr.Code),

0 commit comments

Comments
 (0)