mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
Fix comment of limitranges
The comment of limitrages' API seems to be copied from pkg/registry/autoscaling/horizontalpodautoscaler/storage/storage.go with the other implementation code. It is a little difficult to understand what is the API, then this PR fixes it.
This commit is contained in:
parent
df8287c91d
commit
5b108c5ec1
@ -30,7 +30,7 @@ type REST struct {
|
|||||||
*genericregistry.Store
|
*genericregistry.Store
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewREST returns a RESTStorage object that will work against horizontal pod autoscalers.
|
// NewREST returns a RESTStorage object that will work against limitranges.
|
||||||
func NewREST(optsGetter generic.RESTOptionsGetter) *REST {
|
func NewREST(optsGetter generic.RESTOptionsGetter) *REST {
|
||||||
store := &genericregistry.Store{
|
store := &genericregistry.Store{
|
||||||
Copier: api.Scheme,
|
Copier: api.Scheme,
|
||||||
|
Loading…
Reference in New Issue
Block a user