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:
		@@ -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")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user