Skip to content

Commit

Permalink
Fix unused r-variable linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminguttmann-avtq committed Feb 26, 2024
1 parent 9399475 commit 362e927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bosh_exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ func main() {
prometheus.MustRegister(boshCollector)

http.Handle(*metricsPath, prometheusHandler())
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
http.HandleFunc("/", func(w http.ResponseWriter, _ *http.Request) {
_, _ = w.Write([]byte(`<html>
<head><title>BOSH Exporter</title></head>
<body>
Expand Down

0 comments on commit 362e927

Please sign in to comment.