author | Andreas Deininger
<andreas@deininger.net> 2024-12-01 20:56:13 UTC |
committer | Alberto Bertogli
<albertito@blitiri.com.ar> 2024-12-01 22:03:10 UTC |
parent | 9dab8f4f04efd6cfd0a07d86404c2536b68d2517 |
monitoring.go | +2 | -2 |
diff --git a/monitoring.go b/monitoring.go index 29231ed..dd5408d 100644 --- a/monitoring.go +++ b/monitoring.go @@ -226,7 +226,7 @@ func exitHandler(srv *http.Server) http.HandlerFunc { } } -func debugFlagsHandler(w http.ResponseWriter, r *http.Request) { +func debugFlagsHandler(w http.ResponseWriter, _ *http.Request) { visited := make(map[string]bool) // Print set flags first, then the rest. @@ -245,7 +245,7 @@ func debugFlagsHandler(w http.ResponseWriter, r *http.Request) { } func debugConfigHandler(conf *config.Config) http.HandlerFunc { - return func(w http.ResponseWriter, r *http.Request) { + return func(w http.ResponseWriter, _ *http.Request) { _, _ = w.Write([]byte(prototext.Format(conf))) } }