From b9f1f4712a35a1273f0896a86a25540ae3343c10 Mon Sep 17 00:00:00 2001 From: Tim Hockin Date: Tue, 24 Aug 2021 22:43:26 -0700 Subject: [PATCH] Svc REST: rename allocServiceClusterIP --- pkg/registry/core/service/storage/rest.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/registry/core/service/storage/rest.go b/pkg/registry/core/service/storage/rest.go index 089ba29850b..140d0f91679 100644 --- a/pkg/registry/core/service/storage/rest.go +++ b/pkg/registry/core/service/storage/rest.go @@ -284,7 +284,7 @@ func (al *RESTAllocStuff) releaseIPs(toRelease map[api.IPFamily]string) (map[api // standard allocator for dualstackgate==Off, hard wired dependency // and ignores policy, families and clusterIPs -func (al *RESTAllocStuff) allocServiceClusterIP(service *api.Service, dryRun bool) (map[api.IPFamily]string, error) { +func (al *RESTAllocStuff) allocClusterIP(service *api.Service, dryRun bool) (map[api.IPFamily]string, error) { toAlloc := make(map[api.IPFamily]string) // get clusterIP.. empty string if user did not specify an ip @@ -337,7 +337,7 @@ func (al *RESTAllocStuff) allocServiceClusterIPs(service *api.Service, dryRun bo } if !utilfeature.DefaultFeatureGate.Enabled(features.IPv6DualStack) { - return al.allocServiceClusterIP(service, dryRun) + return al.allocClusterIP(service, dryRun) } toAlloc := make(map[api.IPFamily]string)