mirror of
https://github.com/kubernetes/node-problem-detector.git
synced 2026-03-03 02:00:36 +00:00
update defaultHost var name
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user