Allow changing Schedulers RateLimitter setting during startup.

This commit is contained in:
gmarek
2015-07-27 17:22:38 +02:00
parent 6129d3d4eb
commit 4cc0a2f117
6 changed files with 19 additions and 17 deletions

View File

@@ -79,7 +79,7 @@ func TestUnschedulableNodes(t *testing.T) {
restClient := client.NewOrDie(&client.Config{Host: s.URL, Version: testapi.Version()})
schedulerConfigFactory := factory.NewConfigFactory(restClient)
schedulerConfigFactory := factory.NewConfigFactory(restClient, nil)
schedulerConfig, err := schedulerConfigFactory.Create()
if err != nil {
t.Fatalf("Couldn't create scheduler config: %v", err)