Explorar el Código

change: minor change to health check api endpoint

Torkel Ödegaard hace 8 años
padre
commit
f6f2d85aa7
Se han modificado 1 ficheros con 1 adiciones y 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 := simplejson.New()
-	data.Set("status", "ok")
-	data.Set("db_status", "ok")
+	data.Set("database", "ok")
 	data.Set("version", setting.BuildVersion)
 	data.Set("version", setting.BuildVersion)
 	data.Set("commit", setting.BuildCommit)
 	data.Set("commit", setting.BuildCommit)