From c129152038db46b48a42828018e9bf7ba416f663 Mon Sep 17 00:00:00 2001 From: Dave Henderson Date: Fri, 8 Mar 2024 10:31:49 -0500 Subject: fix lint errors (#2010) Signed-off-by: Dave Henderson --- data/datasource_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data') diff --git a/data/datasource_test.go b/data/datasource_test.go index 616506ae..8455ff8d 100644 --- a/data/datasource_test.go +++ b/data/datasource_test.go @@ -360,7 +360,7 @@ func TestReadFileContent(t *testing.T) { _ = os.Chdir("/") mux := http.NewServeMux() - mux.HandleFunc("/foo.json", func(w http.ResponseWriter, r *http.Request) { + mux.HandleFunc("/foo.json", func(w http.ResponseWriter, _ *http.Request) { w.Header().Set("Content-Type", jsonMimetype) w.Write([]byte(`{"foo": "bar"}`)) }) -- cgit v1.2.3