summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorDave Henderson <dhenderson@gmail.com>2024-03-08 10:31:49 -0500
committerGitHub <noreply@github.com>2024-03-08 10:31:49 -0500
commitc129152038db46b48a42828018e9bf7ba416f663 (patch)
tree9d41eeeb27ec154a96f3c342023e6b54b890892c /data
parent7b4fc0fced1c1209cbc5a36c79d07a423f46a722 (diff)
fix lint errors (#2010)
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'data')
-rw-r--r--data/datasource_test.go2
1 files changed, 1 insertions, 1 deletions
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"}`))
})