mirror of
https://github.com/kubernetes/client-go.git
synced 2026-07-21 07:26:30 +00:00
OnError replaced context cancellation errors with a nil lastErr when the error was non-retriable. Preserve the callback error when no retriable error was recorded. Add a regression test covering a context cancellation returned on the first invocation. Kubernetes-commit: 23b344cd1581a871984e44be951249af6018242e