Skip to content

Commit

Permalink
Handle two more reconnection errors (#1601)
Browse files Browse the repository at this point in the history
Signed-off-by: Pablo Chico de Guzman <pchico83@gmail.com>
  • Loading branch information
pchico83 committed Jun 5, 2021
1 parent 7754c4d commit 2a60686
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/errors/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ func IsTransient(err error) bool {
strings.Contains(err.Error(), "command exited without exit status or exit signal"),
strings.Contains(err.Error(), "connection refused"),
strings.Contains(err.Error(), "connection reset by peer"),
strings.Contains(err.Error(), "client connection lost"),
strings.Contains(err.Error(), "nodename nor servname provided, or not known"),
strings.Contains(err.Error(), "unexpected EOF"),
strings.Contains(err.Error(), "TLS handshake timeout"),
strings.Contains(err.Error(), "in the time allotted"),
Expand Down

0 comments on commit 2a60686

Please sign in to comment.