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 @@ -141,29 +141,6 @@ func unmarshalSamplerTypes(raw map[string]any, plain *Sampler) {
141141 }
142142}
143143
144- // unmarshalTextMapPropagatorTypes handles all propagator type unmarshaling.
145- func unmarshalTextMapPropagatorTypes (raw map [string ]any , plain * TextMapPropagator ) {
146- // b3 can be nil, must check and set here
147- if v , ok := raw ["b3" ]; ok && v == nil {
148- plain .B3 = B3Propagator {}
149- }
150- if v , ok := raw ["b3multi" ]; ok && v == nil {
151- plain .B3Multi = B3MultiPropagator {}
152- }
153- if v , ok := raw ["baggage" ]; ok && v == nil {
154- plain .Baggage = BaggagePropagator {}
155- }
156- if v , ok := raw ["jaeger" ]; ok && v == nil {
157- plain .Jaeger = JaegerPropagator {}
158- }
159- if v , ok := raw ["ottrace" ]; ok && v == nil {
160- plain .Ottrace = OpenTracingPropagator {}
161- }
162- if v , ok := raw ["tracecontext" ]; ok && v == nil {
163- plain .Tracecontext = TraceContextPropagator {}
164- }
165- }
166-
167144// unmarshalMetricProducer handles opencensus metric producer unmarshaling.
168145func unmarshalMetricProducer (raw map [string ]any , plain * MetricProducer ) {
169146 // opencensus can be nil, must check and set here
You can’t perform that action at this time.
0 commit comments