Commit 4fa4471e authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #50711 from oomichi/fix-comment

Automatic merge from submit-queue (batch tested with PRs 50711, 50742, 50204) Fix comment of limitranges **What this PR does / why we need it**: 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.
parents bc2f0490 5b108c5e
...@@ -30,7 +30,7 @@ type REST struct { ...@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment