Skip to content

Commit 706bf35

Browse files
author
corneredrat
committed
update defaultHost var name
1 parent 2e0ff3d commit 706bf35

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/healthchecker/types/types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const (
4444
kubeletPortKey = "KUBELET_PORT"
4545
kubeProxyPortKey = "KUBEPROXY_PORT"
4646

47-
defaultHost = "127.0.0.1"
47+
defaultHostAddress = "127.0.0.1"
4848
defaultKubeletPort = "10248"
4949
defaultKubeproxyPort = "10256"
5050
)
@@ -61,7 +61,7 @@ func init() {
6161
func setKubeEndpoints() {
6262
var o string
6363

64-
hostAddress := defaultHost
64+
hostAddress := defaultHostAddress
6565
kubeletPort := defaultKubeletPort
6666
kubeProxyPort := defaultKubeproxyPort
6767

0 commit comments

Comments
 (0)