From b10a38393af7aefe18c85f68655b41ac903f816f Mon Sep 17 00:00:00 2001 From: Antonio Santos Date: Wed, 23 Oct 2019 16:48:47 +0200 Subject: [PATCH] Apply suggestions from code review Co-Authored-By: Povilas Versockas --- pkg/tracing/lightstep/lightstep.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/tracing/lightstep/lightstep.go b/pkg/tracing/lightstep/lightstep.go index 4dde92df632..0d47e56f2e8 100644 --- a/pkg/tracing/lightstep/lightstep.go +++ b/pkg/tracing/lightstep/lightstep.go @@ -29,8 +29,7 @@ type Tracer struct { // Close synchronously flushes the Lightstep tracer, then terminates it. func (t *Tracer) Close() error { - lightstepTracer := t.Tracer - lightstepTracer.Close(t.ctx) + t.Tracer.Close(t.ctx) return nil }