mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
change: minor change to health check api endpoint
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user