Skip to content

Commit

Permalink
Fix linter error: replace parameter req with _
Browse files Browse the repository at this point in the history
  • Loading branch information
jve-engineering committed Dec 7, 2023
1 parent e843f22 commit 876cd30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion receiver/influxdbreceiver/receiver.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,6 @@ func (r *metricsReceiver) handleWrite(w http.ResponseWriter, req *http.Request)
w.WriteHeader(http.StatusNoContent)
}

func (r *metricsReceiver) handlePing(w http.ResponseWriter, req *http.Request) {
func (r *metricsReceiver) handlePing(w http.ResponseWriter, _ *http.Request) {
w.WriteHeader(http.StatusNoContent)
}

0 comments on commit 876cd30

Please sign in to comment.