Decouple defaulting from genericapiserver and master

This commit is contained in:
Dr. Stefan Schimanski
2016-09-27 17:52:31 +02:00
parent b4c6a68036
commit 8391a19b57
11 changed files with 30 additions and 23 deletions

View File

@@ -149,7 +149,7 @@ func startMasterOrDie(masterConfig *master.Config) (*master.Master, *httptest.Se
},
}
}
m, err := masterConfig.New()
m, err := masterConfig.Complete().New()
if err != nil {
glog.Fatalf("error in bringing up the master: %v", err)
}