mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-01 06:54:03 +03:00
Upgrade golangci-lint for 1.42
This commit is contained in:
@@ -58,7 +58,7 @@ func (w *wrapperTrafficStats) RemoteAddr() *net.TCPAddr {
|
||||
}
|
||||
|
||||
func (w *wrapperTrafficStats) Close() error {
|
||||
return w.parent.Close()
|
||||
return w.parent.Close() // nolint: wrapcheck
|
||||
}
|
||||
|
||||
func NewTrafficStats(parent conntypes.StreamReadWriteCloser) conntypes.StreamReadWriteCloser {
|
||||
|
||||
Reference in New Issue
Block a user