Update go dependencies

This commit is contained in:
Manuel Alejandro de Brito Fontes 2020-04-20 10:40:17 -04:00
parent 5c5e2328ba
commit 837d370ab2
10 changed files with 123 additions and 122 deletions

View file

@ -655,7 +655,7 @@ func (r *Request) Watch(ctx context.Context) (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