Commit 5bbe3125 authored by witskeeper's avatar witskeeper Committed by Lemon

fix:CarrierFormatter.Enable not work. can not remove Sw3CarrierFormatter by config. (#168)

parent 378ce2ca
...@@ -49,7 +49,7 @@ namespace SkyApm.Tracing ...@@ -49,7 +49,7 @@ namespace SkyApm.Tracing
foreach (var formatter in _carrierFormatters) foreach (var formatter in _carrierFormatters)
{ {
if (formatter.Enable){} if (formatter.Enable)
headerCollection.Add(formatter.Key, formatter.Encode(carrier)); headerCollection.Add(formatter.Key, formatter.Encode(carrier));
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment