mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 12:54:01 +03:00
Update to the latest golangci-lint
This commit is contained in:
@@ -18,7 +18,7 @@ func (l Listener) Accept() (net.Conn, error) {
|
||||
}
|
||||
|
||||
if err := network.SetClientSocketOptions(conn, 0); err != nil {
|
||||
conn.Close()
|
||||
conn.Close() //nolint: errcheck
|
||||
|
||||
return nil, fmt.Errorf("cannot set TCP options: %w", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user