Skip to content

Commit

Permalink
change: minor change to health check api endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
torkelo committed Apr 25, 2017
1 parent f6f2d85 commit 19a04b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/api/http_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 19a04b7

Please sign in to comment.