From 5d6ea5029ed7cf2ab39abf1cb2fc37da5883b842 Mon Sep 17 00:00:00 2001 From: Jose Garcia Date: Thu, 23 Sep 2021 13:36:04 -0400 Subject: [PATCH] Linter fixes --- internal/liveshare/client.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/liveshare/client.go b/internal/liveshare/client.go index 76f8146de..2b1f97831 100644 --- a/internal/liveshare/client.go +++ b/internal/liveshare/client.go @@ -130,8 +130,9 @@ func (s *Session) openStreamingChannel(ctx context.Context, id channelID) (ssh.C return nil, fmt.Errorf("error getting stream id: %w", err) } - span, _ := opentracing.StartSpanFromContext(ctx, "Session.OpenChannel+SendRequest") + span, ctx := opentracing.StartSpanFromContext(ctx, "Session.OpenChannel+SendRequest") defer span.Finish() + _ = ctx // ctx is not currently used channel, reqs, err := s.ssh.conn.OpenChannel("session", nil) if err != nil {