Update to the latest golangci-lint

This commit is contained in:
9seconds
2026-02-11 10:20:04 +01:00
parent 37de052feb
commit ecba88d2e3
38 changed files with 82 additions and 78 deletions
+2 -2
View File
@@ -56,7 +56,7 @@ func (c *circuitBreakerDialer) doClosed(ctx context.Context,
select {
case <-ctx.Done():
if conn != nil {
conn.Close()
conn.Close() //nolint: errcheck
}
return nil, ctx.Err() //nolint: wrapcheck
@@ -93,7 +93,7 @@ func (c *circuitBreakerDialer) doHalfOpened(ctx context.Context,
select {
case <-ctx.Done():
if conn != nil {
conn.Close()
conn.Close() //nolint: errcheck
}
return nil, ctx.Err() //nolint: wrapcheck