mirror of https://github.com/k3s-io/k3s
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.pull/6/head
parent
df8287c91d
commit
5b108c5ec1
|
@ -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