mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-06 07:57:35 +00:00
Revert "Merge pull request #47353 from apelisse/http-cache"
This reverts commitfc89743dca, reversing changes made to29ab38e898.
This commit is contained in:
@@ -418,7 +418,7 @@ func (f *FakeFactory) SwaggerSchema(schema.GroupVersionKind) (*swagger.ApiDeclar
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
func (f *FakeFactory) OpenAPISchema() (openapi.Resources, error) {
|
||||
func (f *FakeFactory) OpenAPISchema(cacheDir string) (openapi.Resources, error) {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
@@ -756,7 +756,7 @@ func (f *fakeAPIFactory) SwaggerSchema(schema.GroupVersionKind) (*swagger.ApiDec
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
func (f *fakeAPIFactory) OpenAPISchema() (openapi.Resources, error) {
|
||||
func (f *fakeAPIFactory) OpenAPISchema(cacheDir string) (openapi.Resources, error) {
|
||||
if f.tf.OpenAPISchemaFunc != nil {
|
||||
return f.tf.OpenAPISchemaFunc()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user