mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 12:15:52 +00:00
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.
This commit is contained in:
commit
4fa4471e64
@ -30,7 +30,7 @@ type REST struct {
|
||||
*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 {
|
||||
store := &genericregistry.Store{
|
||||
Copier: api.Scheme,
|
||||
|
Loading…
Reference in New Issue
Block a user