Fix doc comment

This commit is contained in:
Tim Hockin 2020-11-17 15:49:17 -08:00
parent 62503f254e
commit 89b633d353

View File

@ -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)