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:
parent
c4a05dfab4
commit
f7dcb6ff22
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user