mirror of
https://github.com/kubernetes/client-go.git
synced 2025-09-28 16:06:49 +00:00
Fake discovery should return an error if an error-returning reactor was prepended. This is relevant e.g. for unit tests which test a function which relies on discovery to check if an API Server is available. Matches existing behavior of other fake types, for example fake_namespace. Adds unit test coverage as well. Kubernetes-commit: b47748103a53c0fe5ba1ddc950662ffc9bd9ed0f