Merge pull request #107180 from ardaguclu/remove-deprecated-serverresource

Remove deprecated discovery/ServerResources function
This commit is contained in:
Kubernetes Prow Robot
2022-03-25 23:45:21 -07:00
committed by GitHub
12 changed files with 8 additions and 84 deletions

View File

@@ -364,7 +364,7 @@ func TestStorageVersionHashes(t *testing.T) {
ContentConfig: restclient.ContentConfig{NegotiatedSerializer: legacyscheme.Codecs},
}
discover := discovery.NewDiscoveryClientForConfigOrDie(c)
all, err := discover.ServerResources()
_, all, err := discover.ServerGroupsAndResources()
if err != nil {
t.Error(err)
}