mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-02 16:31:56 +03:00
linting the code
This commit is contained in:
@@ -47,6 +47,7 @@ func (c *connection) write(packet conntypes.Packet) error {
|
||||
c.pending = 0
|
||||
c.mutex.Unlock()
|
||||
}
|
||||
|
||||
return err
|
||||
}
|
||||
|
||||
@@ -89,6 +90,7 @@ func (c *connection) run() {
|
||||
logger.Debugw("Failed response", "error", err)
|
||||
continue
|
||||
}
|
||||
|
||||
if response.Type == rpc.ProxyResponseTypeCloseExt {
|
||||
logger.Debugw("Proxy has closed connection")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user