From 706bf35086e5a2a8f6a35da281131ad07647f5db Mon Sep 17 00:00:00 2001 From: corneredrat Date: Thu, 9 Feb 2023 23:22:55 +0530 Subject: [PATCH] update defaultHost var name --- pkg/healthchecker/types/types.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/healthchecker/types/types.go b/pkg/healthchecker/types/types.go index f17af30b..e7e7266c 100644 --- a/pkg/healthchecker/types/types.go +++ b/pkg/healthchecker/types/types.go @@ -44,7 +44,7 @@ const ( kubeletPortKey = "KUBELET_PORT" kubeProxyPortKey = "KUBEPROXY_PORT" - defaultHost = "127.0.0.1" + defaultHostAddress = "127.0.0.1" defaultKubeletPort = "10248" defaultKubeproxyPort = "10256" ) @@ -61,7 +61,7 @@ func init() { func setKubeEndpoints() { var o string - hostAddress := defaultHost + hostAddress := defaultHostAddress kubeletPort := defaultKubeletPort kubeProxyPort := defaultKubeproxyPort