ignore another connection error

This commit is contained in:
risk danger olson 2016-03-01 09:13:26 -07:00
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")
}