mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 23:37:01 +00:00
Fix potential SEGV with null delegate handler
This commit is contained in:
parent
6c50ffcf7b
commit
0e79b7c91b
@ -145,7 +145,7 @@ func (c completedConfig) New(delegationTarget genericapiserver.DelegationTarget)
|
||||
groupDiscoveryHandler,
|
||||
s.GenericAPIServer.RequestContextMapper(),
|
||||
customResourceInformers.Apiextensions().InternalVersion().CustomResources().Lister(),
|
||||
delegationTarget.UnprotectedHandler(),
|
||||
delegateHandler,
|
||||
c.CustomResourceRESTOptionsGetter,
|
||||
c.GenericConfig.AdmissionControl,
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user