Fix the klog.Errorf message
health server->healthz server
This commit is contained in:
		@@ -717,7 +717,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)
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user