From f6bca5928fedf772d3a1533647d9926eead0b45c Mon Sep 17 00:00:00 2001 From: Gilles Miraillet Date: Sat, 17 Feb 2024 12:10:18 +0100 Subject: [PATCH] Fix golangci linter warning "parameter 'r' seems to be unused" --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index a2b1c771..33db1c4e 100644 --- a/main.go +++ b/main.go @@ -180,7 +180,7 @@ func main() { handler := prometheusHandler() http.Handle(*metricsPath, handler) - http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { + http.HandleFunc("/", func(w http.ResponseWriter, _ *http.Request) { _, err := w.Write([]byte(` Cloud Foundry Exporter