Skip to content

Commit

Permalink
Rename tracer argument of create_tracer()
Browse files Browse the repository at this point in the history
Make it clearer that the provided tracer object should be an
OpenTelemetry tracer, not an OpenTracing tracer.
  • Loading branch information
johananl committed Oct 23, 2019
1 parent 2568879 commit 81b59ed
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
logger = logging.getLogger(__name__)


def create_tracer(tracer):
return TracerShim(tracer)
def create_tracer(otel_tracer):
return TracerShim(otel_tracer)


class SpanContextShim(opentracing.SpanContext):
Expand Down

0 comments on commit 81b59ed

Please sign in to comment.