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:
committed by
GitHub
parent
dfc346a00b
commit
38f23c8c52
@ -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")
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user