Skip to content

Commit 9608905

Browse files
Merge pull request #13 from fabricekabongo/deepsource-autofix-d62355ba
refactor: unused parameter should be replaced by underscore
2 parents 22c1933 + 8fbeca4 commit 9608905

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

admin/ops.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ func (o *OpsServer) AdminData() http.Handler {
130130
}
131131

132132
func (*OpsServer) AdminUI() http.Handler {
133-
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
133+
return http.HandlerFunc(func(w http.ResponseWriter, _ *http.Request) {
134134
err := TMPL.Execute(w, nil)
135135
if err != nil {
136136
http.Error(w, err.Error(), http.StatusInternalServerError)

clustering/broadcast-delegate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func newBroadcastDelegate(engine *query.Engine, broadcasts *memberlist.TransmitL
5353
}
5454
}
5555

56-
func (*BroadcastDelegate) NodeMeta(limit int) []byte {
56+
func (*BroadcastDelegate) NodeMeta(_ int) []byte {
5757
return []byte{}
5858
}
5959

0 commit comments

Comments
 (0)