Skip to content

Commit

Permalink
Fix "operation was canceled" retriable error (#1976)
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 Nov 16, 2021
1 parent 17dfe08 commit fa8f26b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/errors/errors.go
Expand Up @@ -175,7 +175,7 @@ func IsTransient(err error) bool {
strings.Contains(err.Error(), "in the time allotted"),
strings.Contains(err.Error(), "broken pipe"),
strings.Contains(err.Error(), "No connection could be made"),
strings.Contains(err.Error(), "dial tcp: operation was canceled"),
strings.Contains(err.Error(), "operation was canceled"),
strings.Contains(err.Error(), "network is unreachable"),
strings.Contains(err.Error(), "development container has been removed"):
return true
Expand Down

0 comments on commit fa8f26b

Please sign in to comment.