File tree Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Original file line number Diff line number Diff line change @@ -116,29 +116,6 @@ func unmarshalSamplerTypes(raw map[string]any, plain *Sampler) {
116116 }
117117}
118118
119- // unmarshalTextMapPropagatorTypes handles all propagator type unmarshaling.
120- func unmarshalTextMapPropagatorTypes (raw map [string ]any , plain * TextMapPropagator ) {
121- // b3 can be nil, must check and set here
122- if v , ok := raw ["b3" ]; ok && v == nil {
123- plain .B3 = B3Propagator {}
124- }
125- if v , ok := raw ["b3multi" ]; ok && v == nil {
126- plain .B3Multi = B3MultiPropagator {}
127- }
128- if v , ok := raw ["baggage" ]; ok && v == nil {
129- plain .Baggage = BaggagePropagator {}
130- }
131- if v , ok := raw ["jaeger" ]; ok && v == nil {
132- plain .Jaeger = JaegerPropagator {}
133- }
134- if v , ok := raw ["ottrace" ]; ok && v == nil {
135- plain .Ottrace = OpenTracingPropagator {}
136- }
137- if v , ok := raw ["tracecontext" ]; ok && v == nil {
138- plain .Tracecontext = TraceContextPropagator {}
139- }
140- }
141-
142119// unmarshalMetricProducer handles opencensus metric producer unmarshaling.
143120func unmarshalMetricProducer (raw map [string ]any , plain * MetricProducer ) {
144121 // opencensus can be nil, must check and set here
You can’t perform that action at this time.
0 commit comments