Skip to content

Commit

Permalink
Update errors.go (#1161)
Browse files Browse the repository at this point in the history
  • Loading branch information
rberrelleza committed Nov 11, 2020
1 parent 3133890 commit de643cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/errors/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ func IsTransient(err error) bool {

switch {
case strings.Contains(err.Error(), "operation time out"),
strings.Contains(err.Error(), "operation timed out"),
strings.Contains(err.Error(), "can't assign requested address"),
strings.Contains(err.Error(), "network is unreachable"):
return true
Expand Down

0 comments on commit de643cc

Please sign in to comment.