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