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