mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-14 06:15:45 +00:00
Fix doc comment
This commit is contained in:
parent
62503f254e
commit
89b633d353
@ -45,7 +45,7 @@ type GenericREST struct {
|
|||||||
secondaryFamily *api.IPFamily
|
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) {
|
func NewGenericREST(optsGetter generic.RESTOptionsGetter, serviceCIDR net.IPNet, hasSecondary bool) (*GenericREST, *StatusREST, error) {
|
||||||
strategy, _ := registry.StrategyForServiceCIDRs(serviceCIDR, hasSecondary)
|
strategy, _ := registry.StrategyForServiceCIDRs(serviceCIDR, hasSecondary)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user