Skip to content

Commit 28b885a

Browse files
committed
f
1 parent 0ed5d12 commit 28b885a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pkg/cmd/openshift-kube-apiserver/openshiftkubeapiserver/patch_handlerchain.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const (
2222
)
2323

2424
func BuildHandlerChain(genericConfig *genericapiserver.Config, kubeInformers informers.SharedInformerFactory, kubeAPIServerConfig *configapi.MasterConfig) (func(apiHandler http.Handler, kc *genericapiserver.Config) http.Handler, map[string]genericapiserver.PostStartHookFunc, error) {
25-
extraPostStarkHooks := map[string]genericapiserver.PostStartHookFunc{}
25+
extraPostStartHooks := map[string]genericapiserver.PostStartHookFunc{}
2626

2727
webconsoleProxyHandler, err := newWebConsoleProxy(kubeInformers, kubeAPIServerConfig)
2828
if err != nil {
@@ -33,13 +33,13 @@ func BuildHandlerChain(genericConfig *genericapiserver.Config, kubeInformers inf
3333
return nil, nil, err
3434
}
3535
for name, fn := range newPostStartHooks {
36-
extraPostStarkHooks[name] = fn
36+
extraPostStartHooks[name] = fn
3737
}
3838

3939
return func(apiHandler http.Handler, genericConfig *genericapiserver.Config) http.Handler {
4040
// Machinery that let's use discover the Web Console Public URL
4141
accessor := newWebConsolePublicURLAccessor(genericConfig.LoopbackClientConfig)
42-
extraPostStarkHooks["openshift.io-webconsolepublicurl"] = func(context genericapiserver.PostStartHookContext) error {
42+
extraPostStartHooks["openshift.io-webconsolepublicurl"] = func(context genericapiserver.PostStartHookContext) error {
4343
go accessor.Run(context.StopCh)
4444
return nil
4545
}
@@ -64,7 +64,7 @@ func BuildHandlerChain(genericConfig *genericapiserver.Config, kubeInformers inf
6464

6565
return handler
6666
},
67-
extraPostStarkHooks,
67+
extraPostStartHooks,
6868
nil
6969
}
7070

0 commit comments

Comments
 (0)