Fix test failure with indy (#13294)

This commit is contained in:
Lauri Tulmin 2025-02-14 12:07:14 +02:00 committed by GitHub
parent 3e406a0da7
commit 0e2cc4f81e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -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) {