mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-13 11:25:19 +00:00
apimachinery: mechanical removal of ObjectCopier plumbing
This commit is contained in:
@@ -32,7 +32,6 @@ type REST struct {
|
||||
// NewREST returns a RESTStorage object that will work against limitranges.
|
||||
func NewREST(optsGetter generic.RESTOptionsGetter) *REST {
|
||||
store := &genericregistry.Store{
|
||||
Copier: api.Scheme,
|
||||
NewFunc: func() runtime.Object { return &api.LimitRange{} },
|
||||
NewListFunc: func() runtime.Object { return &api.LimitRangeList{} },
|
||||
DefaultQualifiedResource: api.Resource("limitranges"),
|
||||
|
||||
Reference in New Issue
Block a user