Merge pull request #118881 from atiratree/fix-openapi-aggregation

fix openapi/v3 non local apiservices aggregation
This commit is contained in:
Kubernetes Prow Robot 2023-07-05 14:33:02 -07:00 committed by GitHub
commit ef3cad84be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,