mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Fix the klog.Errorf message
health server->healthz server
This commit is contained in:
parent
a92729a301
commit
6e7132e9db
@ -717,7 +717,7 @@ func run(s *options.KubeletServer, kubeDeps *kubelet.Dependencies, stopCh <-chan
|
||||
go wait.Until(func() {
|
||||
err := http.ListenAndServe(net.JoinHostPort(s.HealthzBindAddress, strconv.Itoa(int(s.HealthzPort))), 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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user