Skip to content

Commit

Permalink
Fix typo in SDK's Span.start (open-telemetry#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
Oberon00 authored and reyang committed Aug 8, 2019
1 parent 42415ba commit df33d99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opentelemetry-sdk/src/opentelemetry/sdk/trace/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def add_link(self: 'Span',
self.links.append(Link(context, attributes))

def start(self):
if self.end_time is None:
if self.start_time is None:
self.start_time = util.time_ns()

def end(self):
Expand Down

0 comments on commit df33d99

Please sign in to comment.