Skip to content

Commit 8446c3f

Browse files
committed
fix(http): silence filtered fetcher lint warnings
1 parent d017f0d commit 8446c3f

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

services/merrymaker-go/internal/http/ui_iocs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func (h *UIHandlers) IOCs(w http.ResponseWriter, r *http.Request) {
5454
},
5555
h.logger(),
5656
"failed to load IOCs for UI",
57-
func(filters iocsFilter, pg pageOpts) []any {
57+
func(filters iocsFilter, _ pageOpts) []any {
5858
return []any{"filters", filters}
5959
},
6060
),

services/merrymaker-go/internal/http/ui_jobs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1283,7 +1283,7 @@ func (h *UIHandlers) JobsList(w http.ResponseWriter, r *http.Request) {
12831283
},
12841284
h.logger(),
12851285
"failed to load jobs for UI",
1286-
func(filters jobsFilter, pg pageOpts) []any {
1286+
func(filters jobsFilter, _ pageOpts) []any {
12871287
return []any{
12881288
"status", filters.Status,
12891289
"type", filters.Type,

services/merrymaker-go/internal/http/ui_sites.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ func (h *UIHandlers) Sites(w http.ResponseWriter, r *http.Request) {
133133
},
134134
h.logger(),
135135
"failed to load sites for UI",
136-
func(filters sitesFilter, pg pageOpts) []any {
136+
func(filters sitesFilter, _ pageOpts) []any {
137137
return []any{
138138
"query", filters.Q,
139139
"enabled", filters.Enabled,

services/merrymaker-go/internal/http/ui_sources.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ func (h *UIHandlers) Sources(w http.ResponseWriter, r *http.Request) {
126126
},
127127
h.logger(),
128128
"failed to load sources for UI",
129-
func(filters sourcesFilters, pg pageOpts) []any {
129+
func(filters sourcesFilters, _ pageOpts) []any {
130130
return []any{"query", filters.Q, "include_tests", filters.IncludeTests}
131131
},
132132
),

0 commit comments

Comments
 (0)