[MM-53019] Add file storage permission check to workspace health dashboard (#24403)

Этот коммит содержится в:
Ben Schumacher
2023-10-19 17:31:09 +02:00
коммит произвёл GitHub
родитель 3d81a63b4e
Коммит 4ed32be6d2
8 изменённых файлов: 53 добавлений и 8 удалений

Просмотреть файл

@@ -153,7 +153,7 @@ func getSystemPing(c *Context, w http.ResponseWriter, r *http.Request) {
// Enhanced ping health check:
// If an extra form value is provided then perform extra health checks for
// database and file storage backends.
if r.FormValue("get_server_status") != "" {
if r.FormValue("get_server_status") == "true" {
dbStatusKey := "database_status"
s[dbStatusKey] = model.StatusOk