Skip to content

Commit 9a06f9d

Browse files
committed
go fmt
Signed-off-by: everettraven <[email protected]>
1 parent 19b0da7 commit 9a06f9d

File tree

1 file changed

+7
-4
lines changed
  • openshift-kube-apiserver/openshiftkubeapiserver

1 file changed

+7
-4
lines changed

openshift-kube-apiserver/openshiftkubeapiserver/patch.go

+7-4
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,10 @@ func OpenShiftKubeAPIServerConfigPatch(genericConfig *genericapiserver.Config, k
118118
go openshiftAPIServiceReachabilityCheck.checkForConnection(context)
119119
return nil
120120
})
121-
// TODO: Should we skip this post start hook when external OIDC is enabled?
122-
// it seems like the worst case scenario is that this logs an error if a connection
123-
// is not able to happen and returns true. In theory could wrap the connection check with a pre-check
124-
// that just returns true if authentication type is OIDC.
121+
// TODO: Should we skip this post start hook when external OIDC is enabled?
122+
// it seems like the worst case scenario is that this logs an error if a connection
123+
// is not able to happen and returns true. In theory could wrap the connection check with a pre-check
124+
// that just returns true if authentication type is OIDC.
125125
genericConfig.AddPostStartHookOrDie("openshift.io-oauth-apiserver-reachable", func(context genericapiserver.PostStartHookContext) error {
126126
go oauthAPIServiceReachabilityCheck.checkForConnection(context)
127127
return nil
@@ -192,12 +192,15 @@ type kubeAPIServerInformers struct {
192192
func (i *kubeAPIServerInformers) getOpenshiftQuotaInformers() quotainformer.SharedInformerFactory {
193193
return i.OpenshiftQuotaInformers
194194
}
195+
195196
func (i *kubeAPIServerInformers) getOpenshiftSecurityInformers() securityv1informer.SharedInformerFactory {
196197
return i.OpenshiftSecurityInformers
197198
}
199+
198200
func (i *kubeAPIServerInformers) getOpenshiftUserInformers() userinformer.SharedInformerFactory {
199201
return i.OpenshiftUserInformers
200202
}
203+
201204
func (i *kubeAPIServerInformers) getOpenshiftInfraInformers() configv1informer.SharedInformerFactory {
202205
return i.OpenshiftConfigInformers
203206
}

0 commit comments

Comments
 (0)