Skip to content

Commit

Permalink
Merge pull request kubernetes#46262 from xilabao/fix-message-in-stora…
Browse files Browse the repository at this point in the history
…ge-extensions

Automatic merge from submit-queue

fix err message in storage extensions

**Release note**:

```release-note
`NONE`
```
  • Loading branch information
Kubernetes Submit Queue authored May 24, 2017
2 parents b3181ec + d555b1e commit c1d6439
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/registry/extensions/rest/storage_extensions.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit c1d6439

Please sign in to comment.