mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-07 11:13:48 +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 {
|
||||
apiServiceInfo.apiService = *apiservice
|
||||
apiServiceInfo.handler = handler
|
||||
return
|
||||
}
|
||||
s.apiServiceInfo[apiservice.Name] = &openAPIV3APIServiceInfo{
|
||||
apiService: *apiservice,
|
||||
|
Loading…
Reference in New Issue
Block a user