mirror of
https://github.com/kubernetes/client-go.git
synced 2026-01-13 11:34:02 +00:00
The fake discovery client currently returns `nil, nil` for several methods. Among them is the `ServerGroups` method, which is used by the discovery REST mapper implementations. This updates the fake discovery client to actually return server groups so that the discovery REST mapper can be used in tests. Kubernetes-commit: f83a19676c0b53b2c2240d11d58e9d35c31d9ff5