1
0
mirror of https://github.com/go-acme/lego.git synced 2025-07-16 03:44:18 +02:00

chore: update linter. (#1278)

This commit is contained in:
Ludovic Fernandez
2020-10-27 12:01:05 +01:00
committed by GitHub
parent dfc346a00b
commit 38f23c8c52
19 changed files with 61 additions and 53 deletions

View File

@ -29,7 +29,7 @@ func launchHook(hook string, meta map[string]string) error {
fmt.Println(string(output))
}
if ctxCmd.Err() == context.DeadlineExceeded {
if errors.Is(ctxCmd.Err(), context.DeadlineExceeded) {
return errors.New("hook timed out")
}