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)