mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 03:11:40 +00:00
Merge pull request #74009 from AdamDang/patch-27
Fix the klog.Errorf message
This commit is contained in:
commit
44de3f928a
@ -715,7 +715,7 @@ func run(s *options.KubeletServer, kubeDeps *kubelet.Dependencies, stopCh <-chan
|
|||||||
go wait.Until(func() {
|
go wait.Until(func() {
|
||||||
err := http.ListenAndServe(net.JoinHostPort(s.HealthzBindAddress, strconv.Itoa(int(s.HealthzPort))), nil)
|
err := http.ListenAndServe(net.JoinHostPort(s.HealthzBindAddress, strconv.Itoa(int(s.HealthzPort))), nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
klog.Errorf("Starting health server failed: %v", err)
|
klog.Errorf("Starting healthz server failed: %v", err)
|
||||||
}
|
}
|
||||||
}, 5*time.Second, wait.NeverStop)
|
}, 5*time.Second, wait.NeverStop)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user