Skip to content

Commit d0ed737

Browse files
committed
Merge branch '2.0.x' into 1.0.x
# Conflicts: # src/Resources/DependencyInjection/ExtractorChainCompilerPass.php
2 parents f40c9e1 + f5aa175 commit d0ed737

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/Resources/DependencyInjection/ExtractorChainCompilerPass.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@ public function process(ContainerBuilder $container)
1818
$definition = $container->getDefinition('jaeger.context.extractor.chain');
1919
foreach ($container->findTaggedServiceIds('jaeger.context.extractor') as $id => $tags) {
2020
foreach ($tags as $tag) {
21-
if (false === array_key_exists('alias', $tag)) {
22-
throw new \RuntimeException(
23-
sprintf('Required tag field %s is missing from definition', 'alias')
24-
);
25-
}
2621
$priority = array_key_exists('priority', $tag) ? $tag['priority'] : 0;
2722
$definition->addMethodCall('add', [new Reference($id), $priority]);
2823
}

0 commit comments

Comments
 (0)