Fix test failure with indy (#13294)
This commit is contained in:
parent
3e406a0da7
commit
0e2cc4f81e
|
|
@ -43,7 +43,9 @@ public class OpenTelemetryMeterRegistryAutoConfiguration {
|
|||
|
||||
@Bean
|
||||
// static to avoid "is not eligible for getting processed by all BeanPostProcessors" warning
|
||||
static BeanPostProcessor postProcessCompositeMeterRegistry() {
|
||||
// must be public because this class is injected as a proxy when using non-inlined advice and that
|
||||
// proxy contains only public methods
|
||||
public static BeanPostProcessor postProcessCompositeMeterRegistry() {
|
||||
return new BeanPostProcessor() {
|
||||
@Override
|
||||
public Object postProcessAfterInitialization(Object bean, String beanName) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue