We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f40c9e1 + f5aa175 commit d0ed737Copy full SHA for d0ed737
src/Resources/DependencyInjection/ExtractorChainCompilerPass.php
@@ -18,11 +18,6 @@ public function process(ContainerBuilder $container)
18
$definition = $container->getDefinition('jaeger.context.extractor.chain');
19
foreach ($container->findTaggedServiceIds('jaeger.context.extractor') as $id => $tags) {
20
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
- }
26
$priority = array_key_exists('priority', $tag) ? $tag['priority'] : 0;
27
$definition->addMethodCall('add', [new Reference($id), $priority]);
28
}
0 commit comments