From f7dcb6ff22133ed6df3b6d4e4f3984a1d4d76e07 Mon Sep 17 00:00:00 2001 From: Ludovic Fernandez Date: Wed, 10 Jul 2019 19:20:31 +0200 Subject: [PATCH] fix: confusing message. (#922) --- certificate/authorization.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/certificate/authorization.go b/certificate/authorization.go index 00062504..e8d41d1d 100644 --- a/certificate/authorization.go +++ b/certificate/authorization.go @@ -62,8 +62,8 @@ func (c *Certifier) getAuthorizations(order acme.ExtendedOrder) ([]acme.Authoriz func (c *Certifier) deactivateAuthorizations(order acme.ExtendedOrder) { for _, auth := range order.Authorizations { - if err := c.core.Authorizations.Deactivate(auth); err != nil { - log.Infof("Unable to deactivated authorizations: %s", auth) + if c.core.Authorizations.Deactivate(auth) != nil { + log.Infof("Unable to deactivate the authorization: %s", auth) } } }