mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-02 03:08:15 +00:00
remove dead mapper
This commit is contained in:
@@ -711,7 +711,6 @@ func NewFactory(optionalClientConfig clientcmd.ClientConfig) *Factory {
|
||||
c: restclient,
|
||||
fedc: fedClient,
|
||||
cacheDir: dir,
|
||||
mapper: api.RESTMapper,
|
||||
}, nil
|
||||
}
|
||||
return validation.NullSchema{}, nil
|
||||
@@ -974,7 +973,6 @@ type clientSwaggerSchema struct {
|
||||
c *restclient.RESTClient
|
||||
fedc *restclient.RESTClient
|
||||
cacheDir string
|
||||
mapper meta.RESTMapper
|
||||
}
|
||||
|
||||
const schemaFileName = "schema.json"
|
||||
|
||||
Reference in New Issue
Block a user