Explorar o código

change: minor change to health check api endpoint

Torkel Ödegaard %!s(int64=8) %!d(string=hai) anos
pai
achega
f6f2d85aa7
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      pkg/api/http_server.go

+ 1 - 2
pkg/api/http_server.go

@@ -170,8 +170,7 @@ func (hs *HttpServer) healthHandler(ctx *macaron.Context) {
 	}
 
 	data := simplejson.New()
-	data.Set("status", "ok")
-	data.Set("db_status", "ok")
+	data.Set("database", "ok")
 	data.Set("version", setting.BuildVersion)
 	data.Set("commit", setting.BuildCommit)