mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-07-27 18:59:57 +00:00
TUN-8238: Fix type mismatch introduced by fast-forward
This commit is contained in:
@@ -272,7 +272,7 @@ func (p *Proxy) proxyStream(
|
|||||||
_, connectSpan := tr.Tracer().Start(ctx, "stream-connect")
|
_, connectSpan := tr.Tracer().Start(ctx, "stream-connect")
|
||||||
|
|
||||||
start := time.Now()
|
start := time.Now()
|
||||||
originConn, err := connectionProxy.EstablishConnection(ctx, dest, &logger)
|
originConn, err := connectionProxy.EstablishConnection(ctx, dest, logger)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
connectStreamErrors.Inc()
|
connectStreamErrors.Inc()
|
||||||
tracing.EndWithErrorStatus(connectSpan, err)
|
tracing.EndWithErrorStatus(connectSpan, err)
|
||||||
|
Reference in New Issue
Block a user