This commit is contained in:
2026-01-02 18:20:15 +00:00
parent 0f7c29c3ef
commit ce5a8fbffd
37 changed files with 323 additions and 178 deletions
+2 -2
View File
@@ -140,7 +140,7 @@ func (c *Checker) HealthHandler() http.HandlerFunc {
w.Header().Set("Content-Type", "application/json")
w.WriteHeader(statusCode)
json.NewEncoder(w).Encode(response)
_ = json.NewEncoder(w).Encode(response) // #nosec G104 -- JSON response write
}
}
@@ -173,6 +173,6 @@ func (c *Checker) ReadyHandler() http.HandlerFunc {
w.Header().Set("Content-Type", "application/json")
w.WriteHeader(statusCode)
json.NewEncoder(w).Encode(response)
_ = json.NewEncoder(w).Encode(response) // #nosec G104 -- JSON response write
}
}