Fix duplicated rate limit in scheduler

Remove BindingRateLimiterSaturation metrics

Update generated doc
This commit is contained in:
harry
2015-12-28 17:04:29 +08:00
committed by Harry Zhang
parent e1a71fefaa
commit 080cb60dab
13 changed files with 20 additions and 123 deletions

View File

@@ -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)