change: minor change to health check api endpoint

This commit is contained in:
Torkel Ödegaard 2017-04-25 17:24:36 +02:00
parent f6f2d85aa7
commit 19a04b7e4a

View File

@ -175,7 +175,7 @@ func (hs *HttpServer) healthHandler(ctx *macaron.Context) {
data.Set("commit", setting.BuildCommit)
if err := bus.Dispatch(&models.GetDBHealthQuery{}); err != nil {
data.Set("db_status", "failing")
data.Set("database", "failing")
}
ctx.Resp.Header().Set("Content-Type", "application/json; charset=UTF-8")