From b6448cd92317cd4d5890525d96c1bfd96953fa28 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 29 Oct 2020 12:12:25 +0800 Subject: [PATCH] 1 --- httpserver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httpserver.go b/httpserver.go index 6f4593e..8b87cad 100644 --- a/httpserver.go +++ b/httpserver.go @@ -22,7 +22,7 @@ func (this *HttpServer) Init(serviceName string, logOutputTime int32) *HttpServe this.handlers = make(map[string]func(http.ResponseWriter, *http.Request)) http.HandleFunc("/webapp/index.php", this.dispatchRequest) this.RegisterHandle("Ops", "selfChecking", func (w http.ResponseWriter,r *http.Request) { - w.Write([]byte(`{"errcode":0, "errmsg":"", "health":1, "max_rundelay": 10}`)) + w.Write([]byte(`{"errcode":0, "errmsg":"", "healthy":1, "max_rundelay":10}`)) }) SysLog().Info("HttpServer.Init") if logOutputTime > 0 {