Skip to content

Commit

Permalink
Fix extracting TraceState from HttpTextMapCarrier (#738)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomsonTan authored May 11, 2021
1 parent d8467a7 commit e901a36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/http/tracer_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class HttpTextMapCarrier : public opentelemetry::context::propagation::TextMapCa
}
else if (key == opentelemetry::trace::propagation::kTraceState)
{
key_to_compare == "Tracestate";
key_to_compare = "Tracestate";
}
auto it = headers_.find(key_to_compare);
if (it != headers_.end())
Expand Down

0 comments on commit e901a36

Please sign in to comment.