mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-07 12:11:43 +00:00
Merge pull request #116108 from Jefftree/agg-discovery-enb
Enable Aggregated Discovery for Beta
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user