Skip to content

Commit 1980be0

Browse files
committed
chore: fix golangci-lint
1 parent 74fb9f0 commit 1980be0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

error.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func isBadConn(err error, allowTimeout bool, addr string) bool {
9191

9292
if allowTimeout {
9393
if netErr, ok := err.(net.Error); ok && netErr.Timeout() {
94-
return !netErr.Temporary()
94+
return false
9595
}
9696
}
9797

0 commit comments

Comments
 (0)