mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 09:49:50 +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,
|
groupDiscoveryHandler,
|
||||||
s.GenericAPIServer.RequestContextMapper(),
|
s.GenericAPIServer.RequestContextMapper(),
|
||||||
customResourceInformers.Apiextensions().InternalVersion().CustomResources().Lister(),
|
customResourceInformers.Apiextensions().InternalVersion().CustomResources().Lister(),
|
||||||
delegationTarget.UnprotectedHandler(),
|
delegateHandler,
|
||||||
c.CustomResourceRESTOptionsGetter,
|
c.CustomResourceRESTOptionsGetter,
|
||||||
c.GenericConfig.AdmissionControl,
|
c.GenericConfig.AdmissionControl,
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user