Skip to content

Commit

Permalink
Fix test failure with indy (#13294)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurit authored Feb 14, 2025
1 parent 3e406a0 commit 0e2cc4f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ public MeterRegistry otelMeterRegistry() {

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

0 comments on commit 0e2cc4f

Please sign in to comment.