1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-28 14:41:10 +01:00

Update to k8s 1.17.5 dependencies

This commit is contained in:
Sean Malloy
2020-05-13 22:40:42 -05:00
parent f44b204e16
commit 508f1f50e5
12 changed files with 89 additions and 117 deletions

View File

@@ -603,7 +603,7 @@ func (r *Request) Watch() (watch.Interface, error) {
if err != nil {
// The watch stream mechanism handles many common partial data errors, so closed
// connections can be retried in many cases.
if net.IsProbableEOF(err) {
if net.IsProbableEOF(err) || net.IsTimeout(err) {
return watch.NewEmptyWatch(), nil
}
return nil, err