fix tsb error message
@@ -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
}
