kube-aggregator: rename New{Auto -> CRD}RegistrationController

This commit is contained in:
Dr. Stefan Schimanski
2019-02-13 16:07:42 +01:00
parent 30c7df5cd8
commit af17cff6b0
2 changed files with 3 additions and 3 deletions

View File

@@ -60,9 +60,9 @@ type crdRegistrationController struct {
queue workqueue.RateLimitingInterface
}
// NewAutoRegistrationController returns a controller which will register CRD GroupVersions with the auto APIService registration
// NewCRDRegistrationController returns a controller which will register CRD GroupVersions with the auto APIService registration
// controller so they automatically stay in sync.
func NewAutoRegistrationController(crdinformer crdinformers.CustomResourceDefinitionInformer, apiServiceRegistration AutoAPIServiceRegistration) *crdRegistrationController {
func NewCRDRegistrationController(crdinformer crdinformers.CustomResourceDefinitionInformer, apiServiceRegistration AutoAPIServiceRegistration) *crdRegistrationController {
c := &crdRegistrationController{
crdLister: crdinformer.Lister(),
crdSynced: crdinformer.Informer().HasSynced,