ignore another connection error
This commit is contained in:
parent
d79d4797be
commit
ed38201b1a
@ -713,5 +713,7 @@ func isDockerConnectionError(err error) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
return strings.Contains(err.Error(), "connection reset by peer")
|
||||
e := err.Error()
|
||||
return strings.Contains(e, "connection reset by peer") ||
|
||||
strings.Contains(e, "connection refused")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user