update defaultHost var name

This commit is contained in:
corneredrat
2023-02-09 23:22:55 +05:30
parent 2e0ff3d14c
commit 706bf35086

View File

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