Use new constructor to configure W3CPropagation without baggage

Closes gh-32524
This commit is contained in:
Andy Wilkinson 2022-10-12 17:19:45 +01:00
parent a816851582
commit e4544c1785
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ public class BraveAutoConfiguration {
return switch (tracing.getPropagation().getType()) {
case B3 ->
B3Propagation.newFactoryBuilder().injectFormat(B3Propagation.Format.SINGLE_NO_PARENT).build();
case W3C -> new W3CPropagation(BRAVE_BAGGAGE_MANAGER, List.of());
case W3C -> new W3CPropagation();
};
}