diff --git a/pkg/template/servicebroker/servicebroker.go b/pkg/template/servicebroker/servicebroker.go index da70df48540e..c2938ca3690e 100644 --- a/pkg/template/servicebroker/servicebroker.go +++ b/pkg/template/servicebroker/servicebroker.go @@ -29,7 +29,6 @@ type Broker struct { templateclient internalversiontemplate.TemplateInterface extkc kclientsetexternal.Interface extrouteclient extrouteclientset.RouteV1Interface - restconfig restclient.Config lister templatelister.TemplateLister templateNamespaces map[string]struct{} ready chan struct{} @@ -72,7 +71,7 @@ func NewBroker(privrestconfig restclient.Config, privkc kclientset.Interface, in extrouteclientset, err := extrouteclientset.NewForConfig(restconfig) if err != nil { - utilruntime.HandleError(fmt.Errorf("Template service broker: failed to initialize template clientset: %v", err)) + utilruntime.HandleError(fmt.Errorf("Template service broker: failed to initialize route clientset: %v", err)) return }