From 19a04b7e4a9ecc33ab0e7189d10d409c205d398d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Tue, 25 Apr 2017 17:24:36 +0200 Subject: [PATCH] change: minor change to health check api endpoint --- pkg/api/http_server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/api/http_server.go b/pkg/api/http_server.go index df704872ae0..6f7581064f5 100644 --- a/pkg/api/http_server.go +++ b/pkg/api/http_server.go @@ -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")