mirror of
https://github.com/kubernetes/client-go.git
synced 2026-01-14 03:54:56 +00:00
This fix allows Reflector/Informer callers to detect API errors using the standard Go errors.As unwrapping methods used by the apimachinery helper methods. Combined with a custom WatchErrorHandler, this can be used to stop an informer that encounters specific errors, like resource not found or forbidden. Kubernetes-commit: 9ace604b63045ebbb066cab5e8508b51d0900a05