From 73f97e244c02bd0a01b3c84f574063bca58b75b7 Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 15 Nov 2024 10:42:50 -0800 Subject: [PATCH] Ignore non-constant format string linting error (#2068) --- acme/order.go | 1 + 1 file changed, 1 insertion(+) diff --git a/acme/order.go b/acme/order.go index fa0886da..33bb914b 100644 --- a/acme/order.go +++ b/acme/order.go @@ -309,6 +309,7 @@ func (o *Order) Finalize(ctx context.Context, db DB, csr *x509.CertificateReques // Add subproblem for webhook errors, others can be added later. var webhookErr *webhook.Error if errors.As(err, &webhookErr) { + //nolint:govet // ignore non-constant format string acmeError := NewDetailedError(ErrorUnauthorizedType, webhookErr.Error()) acmeError.AddSubproblems(Subproblem{ Type: fmt.Sprintf("urn:smallstep:webhook:error:%s", webhookErr.Code),