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

This commit is contained in:
Ben Schumacher
2023-10-19 17:31:09 +02:00
committed by GitHub
parent 3d81a63b4e
commit 4ed32be6d2
8 changed files with 53 additions and 8 deletions

View File

@@ -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