fix(server): rename unused request param to _ for revive/unused-parameter

This commit is contained in:
2026-04-18 21:47:52 +00:00
parent 743fbe9d5c
commit 4c5b4d1790
+1 -1
View File
@@ -26,7 +26,7 @@ func (s *Server) Router() http.Handler {
return r
}
func (s *Server) handleHealthz(w http.ResponseWriter, r *http.Request) {
func (s *Server) handleHealthz(w http.ResponseWriter, _ *http.Request) {
w.Header().Set("Content-Type", "application/json")
w.WriteHeader(http.StatusOK)
_ = json.NewEncoder(w).Encode(map[string]string{"status": "ok"})