mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-07 19:23:40 +00:00
Merge pull request #118881 from atiratree/fix-openapi-aggregation
fix openapi/v3 non local apiservices aggregation
This commit is contained in:
commit
ef3cad84be
@ -114,6 +114,7 @@ func (s *specProxier) AddUpdateAPIService(handler http.Handler, apiservice *v1.A
|
|||||||
if apiServiceInfo, ok := s.apiServiceInfo[apiservice.Name]; ok {
|
if apiServiceInfo, ok := s.apiServiceInfo[apiservice.Name]; ok {
|
||||||
apiServiceInfo.apiService = *apiservice
|
apiServiceInfo.apiService = *apiservice
|
||||||
apiServiceInfo.handler = handler
|
apiServiceInfo.handler = handler
|
||||||
|
return
|
||||||
}
|
}
|
||||||
s.apiServiceInfo[apiservice.Name] = &openAPIV3APIServiceInfo{
|
s.apiServiceInfo[apiservice.Name] = &openAPIV3APIServiceInfo{
|
||||||
apiService: *apiservice,
|
apiService: *apiservice,
|
||||||
|
Loading…
Reference in New Issue
Block a user