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