Commit f6f2d85a by Torkel Ödegaard

change: minor change to health check api endpoint

parent 6538e867
...@@ -170,8 +170,7 @@ func (hs *HttpServer) healthHandler(ctx *macaron.Context) { ...@@ -170,8 +170,7 @@ func (hs *HttpServer) healthHandler(ctx *macaron.Context) {
} }
data := simplejson.New() data := simplejson.New()
data.Set("status", "ok") data.Set("database", "ok")
data.Set("db_status", "ok")
data.Set("version", setting.BuildVersion) data.Set("version", setting.BuildVersion)
data.Set("commit", setting.BuildCommit) data.Set("commit", setting.BuildCommit)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment