From 89b633d3532e745f78bcf6c7c01b5e9a77899558 Mon Sep 17 00:00:00 2001 From: Tim Hockin Date: Tue, 17 Nov 2020 15:49:17 -0800 Subject: [PATCH] Fix doc comment --- pkg/registry/core/service/storage/storage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/registry/core/service/storage/storage.go b/pkg/registry/core/service/storage/storage.go index 0e706bea01d..2ec4bd64389 100644 --- a/pkg/registry/core/service/storage/storage.go +++ b/pkg/registry/core/service/storage/storage.go @@ -45,7 +45,7 @@ type GenericREST struct { secondaryFamily *api.IPFamily } -// NewREST returns a RESTStorage object that will work against services. +// NewGenericREST returns a RESTStorage object that will work against services. func NewGenericREST(optsGetter generic.RESTOptionsGetter, serviceCIDR net.IPNet, hasSecondary bool) (*GenericREST, *StatusREST, error) { strategy, _ := registry.StrategyForServiceCIDRs(serviceCIDR, hasSecondary)