Fix duplicated rate limit in scheduler
Remove BindingRateLimiterSaturation metrics Update generated doc
This commit is contained in:
@@ -241,7 +241,7 @@ func TestSchedulerExtender(t *testing.T) {
|
||||
}
|
||||
policy.APIVersion = testapi.Default.GroupVersion().String()
|
||||
|
||||
schedulerConfigFactory := factory.NewConfigFactory(restClient, nil, api.DefaultSchedulerName)
|
||||
schedulerConfigFactory := factory.NewConfigFactory(restClient, api.DefaultSchedulerName)
|
||||
schedulerConfig, err := schedulerConfigFactory.CreateFromConfig(policy)
|
||||
if err != nil {
|
||||
t.Fatalf("Couldn't create scheduler config: %v", err)
|
||||
|
||||
Reference in New Issue
Block a user