mirror of
https://github.com/kubernetes/client-go.git
synced 2025-09-14 22:28:58 +00:00
Revert "client-go: add retry logic for Watch and Stream"
This reverts commit 607d3819498e64d969407c3d7cbbb8f53d98f0d4. Kubernetes-commit: e35af41a1236943b6510a25cfb8cb47855aaa16e
This commit is contained in:
committed by
Kubernetes Publisher
parent
71f81dc715
commit
5ba99a7f80
@@ -43,10 +43,6 @@ func (r IsRetryableErrorFunc) IsErrorRetryable(request *http.Request, err error)
|
||||
return r(request, err)
|
||||
}
|
||||
|
||||
var neverRetryError = IsRetryableErrorFunc(func(_ *http.Request, _ error) bool {
|
||||
return false
|
||||
})
|
||||
|
||||
// WithRetry allows the client to retry a request up to a certain number of times
|
||||
// Note that WithRetry is not safe for concurrent use by multiple
|
||||
// goroutines without additional locking or coordination.
|
||||
|
Reference in New Issue
Block a user