Skip to content

Commit

Permalink
add baggage
Browse files Browse the repository at this point in the history
  • Loading branch information
jky-yy committed Jan 13, 2018
1 parent 9eb185b commit f2a52aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Jaeger/SpanContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function __construct($spanId, $parentId, $flags, $baggage = null, $debugI


public function getBaggageItem($key){
return $this->baggage[$key];
return isset($this->baggage[$key]) ? $this->baggage[$key] : false;
}


Expand Down

0 comments on commit f2a52aa

Please sign in to comment.