1
0
mirror of https://github.com/go-acme/lego.git synced 2025-02-04 10:09:27 +02:00

fix: confusing message. (#922)

This commit is contained in:
Ludovic Fernandez 2019-07-10 19:20:31 +02:00 committed by GitHub
parent c4a05dfab4
commit f7dcb6ff22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
}
}
}