Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.

Commit

Permalink
fix B3Codec extract bug
Browse files Browse the repository at this point in the history
  • Loading branch information
MuchContact committed Jan 18, 2021
1 parent 72a1dd1 commit be3efd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jaeger_client/codecs.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ def inject(self, span_context, carrier):
carrier[self.sampled_header] = '1'

def extract(self, carrier):
if not isinstance(carrier, dict):
if not hasattr(carrier, 'items'):
raise InvalidCarrierException('carrier not a dictionary')
trace_id = span_id = parent_id = None
flags = 0x00
Expand Down

0 comments on commit be3efd0

Please sign in to comment.