Skip to content

Commit

Permalink
Use correct infof calls in controller_manager (kubernetes-retired#950)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmorie authored Jun 20, 2017
1 parent 77943ba commit 512508d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/controller-manager/app/controller_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ func StartControllers(s *options.ControllerManagerServer,

// Launch service-catalog controller
if availableResources[schema.GroupVersionResource{Group: "servicecatalog.k8s.io", Version: "v1alpha1", Resource: "brokers"}] {
glog.V(5).Info("Creating shared informers; resync interval: %v", s.ResyncInterval)
glog.V(5).Infof("Creating shared informers; resync interval: %v", s.ResyncInterval)
// Build the informer factory for service-catalog resources
informerFactory := servicecataloginformers.NewSharedInformerFactory(
serviceCatalogClientBuilder.ClientOrDie("shared-informers"),
Expand All @@ -316,7 +316,7 @@ func StartControllers(s *options.ControllerManagerServer,
// All shared informers are v1alpha1 API level
serviceCatalogSharedInformers := informerFactory.Servicecatalog().V1alpha1()

glog.V(5).Info("Creating controller; broker relist interval: %v", s.BrokerRelistInterval)
glog.V(5).Infof("Creating controller; broker relist interval: %v", s.BrokerRelistInterval)
serviceCatalogController, err := controller.NewController(
coreClient,
serviceCatalogClientBuilder.ClientOrDie(controllerManagerAgentName).ServicecatalogV1alpha1(),
Expand Down

0 comments on commit 512508d

Please sign in to comment.