use klog.InfoS instead of klog.V(0).Info and log structured(registry part)

This commit is contained in:
JunYang 2022-09-22 14:59:43 +08:00
parent 0fff024276
commit 1706de24d2

View File

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