Linter and comment

This commit is contained in:
Caleb Brose 2023-01-19 20:44:38 -06:00
parent e489050715
commit 21c9e7c6db

View file

@ -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 (