diff --git a/port_forwarding.go b/port_forwarding.go index eb9f7456cf..98b66dc307 100644 --- a/port_forwarding.go +++ b/port_forwarding.go @@ -326,12 +326,12 @@ func (pf *PortForwarder) runTunnel(ctx context.Context, remote net.Conn) { done := make(chan struct{}, 2) go func() { - _, _ = io.Copy(local, remote) + io.Copy(local, remote) //nolint:errcheck // Nothing we can usefully do with the error done <- struct{}{} }() go func() { - _, _ = io.Copy(remote, local) + io.Copy(remote, local) //nolint:errcheck // Nothing we can usefully do with the error done <- struct{}{} }()