Commit d555b1e2 authored by xilabao's avatar xilabao

fix err message in storage extensions

parent 0671a466
......@@ -114,7 +114,7 @@ func (p RESTStorageProvider) PostStartHook() (string, genericapiserver.PostStart
func (p RESTStorageProvider) postStartHookFunc(hookContext genericapiserver.PostStartHookContext) error {
clientset, err := extensionsclient.NewForConfig(hookContext.LoopbackClientConfig)
if err != nil {
utilruntime.HandleError(fmt.Errorf("unable to initialize clusterroles: %v", err))
utilruntime.HandleError(fmt.Errorf("unable to initialize client: %v", err))
return nil
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment