From 1706de24d2ddc767e7cb936f60dd658880f27891 Mon Sep 17 00:00:00 2001 From: JunYang Date: Thu, 22 Sep 2022 14:59:43 +0800 Subject: [PATCH] =?UTF-8?q?use=20klog.InfoS=20instead=20of=20klog.V(0).Inf?= =?UTF-8?q?o=20and=20log=20structured=EF=BC=88registry=20part=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/registry/core/service/storage/alloc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/registry/core/service/storage/alloc.go b/pkg/registry/core/service/storage/alloc.go index ee1a0f717b5..b87e2be27c6 100644 --- a/pkg/registry/core/service/storage/alloc.go +++ b/pkg/registry/core/service/storage/alloc.go @@ -431,7 +431,7 @@ func (al *Allocators) releaseIPs(toRelease map[api.IPFamily]string) (map[api.IPF if !ok { // Maybe the cluster was previously configured for dual-stack, // then switched to single-stack? - klog.V(0).Infof("not releasing ClusterIP %q because %s is not enabled", ip, family) + klog.InfoS("Not releasing ClusterIP because related family is not enabled", "clusterIP", ip, "family", family) continue }