From 3646724c6fd7c43effa910e508ec554cd78ed7a9 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Thu, 26 Sep 2024 17:06:37 +0200 Subject: [PATCH] lib/contextutil: make golanci-lint happy by substituing unused function arg name with _ This is a follow-up for 4b1611267f9baf100fed3efbe60e96d57ec309f2 --- lib/contextutil/stop_chan_context.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/contextutil/stop_chan_context.go b/lib/contextutil/stop_chan_context.go index 76e487c6d..47575614d 100644 --- a/lib/contextutil/stop_chan_context.go +++ b/lib/contextutil/stop_chan_context.go @@ -42,6 +42,6 @@ func (ctx *stopChanContext) Err() error { } } -func (ctx *stopChanContext) Value(key any) any { +func (ctx *stopChanContext) Value(_ any) any { return nil }