[MM-53019] Add file storage permission check to workspace health dashboard (#24403)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
3d81a63b4e
Коммит
4ed32be6d2
@@ -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
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user