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

@@ -176,7 +176,7 @@ func startComponents(firstManifestURL, secondManifestURL, apiVersion string) (st
handler.delegate = m.Handler
// Scheduler
schedulerConfigFactory := factory.NewConfigFactory(cl)
schedulerConfigFactory := factory.NewConfigFactory(cl, nil)
schedulerConfig, err := schedulerConfigFactory.Create()
if err != nil {
glog.Fatalf("Couldn't create scheduler config: %v", err)