master
dongming 2 years ago
parent b3b4703c48
commit 3687aaf40a

@ -100,7 +100,7 @@ func main() {
}
//+kubebuilder:scaffold:builder
// 检测健康的相关数据
// 检测健康的方法
if err := mgr.AddHealthzCheck("healthz", healthz.Ping); err != nil {
setupLog.Error(err, "unable to set up health check")
os.Exit(1)

Loading…
Cancel
Save