1
0
mirror of https://github.com/go-acme/lego.git synced 2024-11-28 09:33:13 +02:00

fix: Improve cleanup log messages. (#1076)

This commit is contained in:
Ludovic Fernandez 2020-03-09 18:10:40 +01:00 committed by GitHub
parent 7aca0f7f24
commit e01131f2f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -56,7 +56,7 @@ func (c *Challenge) Solve(authz acme.Authorization) error {
defer func() {
err := c.provider.CleanUp(authz.Identifier.Value, chlng.Token, keyAuth)
if err != nil {
log.Warnf("[%s] acme: error cleaning up: %v", domain, err)
log.Warnf("[%s] acme: cleaning up failed: %v", domain, err)
}
}()

View File

@ -167,7 +167,7 @@ func cleanUp(solvr solver, authz acme.Authorization) {
domain := challenge.GetTargetedDomain(authz)
err := solvr.CleanUp(authz)
if err != nil {
log.Warnf("[%s] acme: error cleaning up: %v ", domain, err)
log.Warnf("[%s] acme: cleaning up failed: %v ", domain, err)
}
}
}

View File

@ -62,7 +62,7 @@ func (c *Challenge) Solve(authz acme.Authorization) error {
defer func() {
err := c.provider.CleanUp(domain, chlng.Token, keyAuth)
if err != nil {
log.Warnf("[%s] acme: error cleaning up: %v", challenge.GetTargetedDomain(authz), err)
log.Warnf("[%s] acme: cleaning up failed: %v", challenge.GetTargetedDomain(authz), err)
}
}()