mirror of
https://github.com/grafana/grafana.git
synced 2024-11-23 09:26:43 -06:00
change: minor change to health check api endpoint
This commit is contained in:
parent
f6f2d85aa7
commit
19a04b7e4a
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user