mirror of
https://github.com/gravitational/teleport.git
synced 2026-09-24 16:17:11 +08:00
Trace the correct error return value in Router.DialWindowsDesktop (#56559)
This commit is contained in:
+1
-2
@@ -338,8 +338,7 @@ func (r *Router) DialWindowsDesktop(ctx context.Context, clientSrcAddr, clientDs
|
||||
attribute.String("cluster", clusterName),
|
||||
),
|
||||
)
|
||||
|
||||
defer tracing.EndSpan(span, err)
|
||||
defer func() { tracing.EndSpan(span, err) }()
|
||||
|
||||
site := r.localSite
|
||||
if clusterName != r.clusterName {
|
||||
|
||||
Reference in New Issue
Block a user