Linter and comment
This commit is contained in:
parent
e489050715
commit
21c9e7c6db
1 changed files with 2 additions and 1 deletions
|
|
@ -196,7 +196,8 @@ func (fwd *PortForwarder) handleConnection(ctx context.Context, id ChannelID, co
|
|||
_, err := io.Copy(w, r)
|
||||
errs <- err
|
||||
|
||||
w.CloseWrite()
|
||||
// Ignore errors here, we call the full Close() later and catch that error
|
||||
_ = w.CloseWrite()
|
||||
}
|
||||
|
||||
var (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue