chore: fix golangci-lint

This commit is contained in:
Vladimir Mihailenco 2022-06-04 10:50:58 +03:00
parent 74fb9f0a8b
commit 1980be0f9f
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ func isBadConn(err error, allowTimeout bool, addr string) bool {
if allowTimeout {
if netErr, ok := err.(net.Error); ok && netErr.Timeout() {
return !netErr.Temporary()
return false
}
}