mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
[MM-53019] Add file storage permission check to workspace health dashboard (#24403)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user