mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-01 02:44:02 +03:00
Fix lint issues
This commit is contained in:
+1
-1
@@ -245,7 +245,7 @@ func (p *Proxy) doTelegramCall(ctx *streamContext) error {
|
||||
|
||||
tgConn, err := foundAddr.Obfuscator.SendHandshake(conn, ctx.dc)
|
||||
if err != nil {
|
||||
conn.Close()
|
||||
conn.Close() // nolint: errcheck
|
||||
return fmt.Errorf("cannot perform server handshake: %w", err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user