From 876cd300d33db777651c7bbe7e959eef58415422 Mon Sep 17 00:00:00 2001 From: jve-engineering Date: Thu, 7 Dec 2023 13:20:58 +0100 Subject: [PATCH] Fix linter error: replace parameter req with _ --- receiver/influxdbreceiver/receiver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/receiver/influxdbreceiver/receiver.go b/receiver/influxdbreceiver/receiver.go index 9e034e3942af..d042d8c592cd 100644 --- a/receiver/influxdbreceiver/receiver.go +++ b/receiver/influxdbreceiver/receiver.go @@ -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) }