From 5b108c5ec1afe9edafd49d35f7c93370d9d333ef Mon Sep 17 00:00:00 2001 From: Ken'ichi Ohmichi Date: Tue, 15 Aug 2017 13:40:49 -0700 Subject: [PATCH] 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. --- pkg/registry/core/limitrange/storage/storage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/registry/core/limitrange/storage/storage.go b/pkg/registry/core/limitrange/storage/storage.go index 68d43499d64..0e64234b338 100644 --- a/pkg/registry/core/limitrange/storage/storage.go +++ b/pkg/registry/core/limitrange/storage/storage.go @@ -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,