TUN-8238: Fix type mismatch introduced by fast-forward
This commit is contained in:
parent
34a876e4e7
commit
3299a9bc15
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue