Merge pull request #116108 from Jefftree/agg-discovery-enb

Enable Aggregated Discovery for Beta
This commit is contained in:
Kubernetes Prow Robot
2023-03-10 10:48:39 -08:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

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