mirror of
https://github.com/prometheus/prometheus.git
synced 2025-07-03 11:03:25 +00:00
chore: enable unused-parameter from revive
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
This commit is contained in:
parent
86bb04783c
commit
c7d4b53ec1
97 changed files with 350 additions and 351 deletions
|
@ -72,7 +72,7 @@ testmetric,test_label=test_label_value2 value=5.1234 123456789123
|
|||
`
|
||||
|
||||
server := httptest.NewServer(http.HandlerFunc(
|
||||
func(w http.ResponseWriter, r *http.Request) {
|
||||
func(_ http.ResponseWriter, r *http.Request) {
|
||||
require.Equal(t, http.MethodPost, r.Method, "Unexpected method.")
|
||||
require.Equal(t, "/api/v2/write", r.URL.Path, "Unexpected path.")
|
||||
b, err := io.ReadAll(r.Body)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue