Merge pull request #115630 from Jefftree/agg-discovery-metrics

Add metrics for aggregated discovery
This commit is contained in:
Kubernetes Prow Robot
2023-03-10 07:44:41 -08:00
committed by GitHub
9 changed files with 182 additions and 36 deletions

View File

@@ -199,7 +199,7 @@ func TestAggregatedAPIServiceDiscovery(t *testing.T) {
defer cleanup()
// Create a resource manager whichs serves our GroupVersion
resourceManager := discoveryendpoint.NewResourceManager()
resourceManager := discoveryendpoint.NewResourceManager("apis")
resourceManager.SetGroups([]apidiscoveryv2beta1.APIGroupDiscovery{basicTestGroup})
// Install our ResourceManager as an Aggregated APIService to the