Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-Authored-By: Povilas Versockas <p.versockas@gmail.com>
  • Loading branch information
antonio and povilasv authored Oct 23, 2019
1 parent 06e72a5 commit b10a383
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/tracing/lightstep/lightstep.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit b10a383

Please sign in to comment.