Unify genericapiserver Config.New() and master Config.New()

This commit is contained in:
Dr. Stefan Schimanski
2016-09-27 17:54:45 +02:00
parent c0826a2e7e
commit b4c6a68036
8 changed files with 12 additions and 12 deletions

View File

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