File tree Expand file tree Collapse file tree
bottlecap/src/traces/propagation Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,14 +23,14 @@ pub fn extract_composite(
2323 if config. trace_propagation_extract_first {
2424 for propagation_style in & config. trace_propagation_style_extract {
2525 let context = propagation_style. extract ( carrier) ;
26- if let Some ( mut context) = context {
27- if self . config . trace_propagation_http_baggage_enabled {
28- Self :: attach_baggage ( & mut context, carrier) ;
29- }
30- return Some ( context) ;
26+ if let Some ( mut context) = context {
27+ if config. trace_propagation_http_baggage_enabled {
28+ attach_baggage ( & mut context, carrier) ;
3129 }
30+ return Some ( context) ;
3231 }
3332 }
33+ }
3434
3535 let contexts_found = extract_available_contexts ( config, carrier) ;
3636 if let Some ( mut primary_context) = resolve_primary_context_with_links ( contexts_found) {
You can’t perform that action at this time.
0 commit comments