Skip to content

Commit

Permalink
Fix golangci linter warning "parameter 'r' seems to be unused"
Browse files Browse the repository at this point in the history
  • Loading branch information
gmllt committed Feb 17, 2024
1 parent 01f8ea3 commit f6bca59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(`<html>
<head><title>Cloud Foundry Exporter</title></head>
<body>
Expand Down

0 comments on commit f6bca59

Please sign in to comment.