From 5a8a9ff7652d462d262ed5efd806964f9de05d03 Mon Sep 17 00:00:00 2001 From: Marcin Grzejszczak Date: Wed, 11 Jan 2023 18:38:13 +0100 Subject: [PATCH] Fixed invalid autoconfig reference; fixes gh-2230 --- .../instrument/async/TraceAsyncCustomAutoConfiguration.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spring-cloud-sleuth-autoconfigure/src/main/java/org/springframework/cloud/sleuth/autoconfig/instrument/async/TraceAsyncCustomAutoConfiguration.java b/spring-cloud-sleuth-autoconfigure/src/main/java/org/springframework/cloud/sleuth/autoconfig/instrument/async/TraceAsyncCustomAutoConfiguration.java index dcf398ac28..835e3ed54d 100644 --- a/spring-cloud-sleuth-autoconfigure/src/main/java/org/springframework/cloud/sleuth/autoconfig/instrument/async/TraceAsyncCustomAutoConfiguration.java +++ b/spring-cloud-sleuth-autoconfigure/src/main/java/org/springframework/cloud/sleuth/autoconfig/instrument/async/TraceAsyncCustomAutoConfiguration.java @@ -43,7 +43,8 @@ @ConditionalOnBean(AsyncConfigurer.class) @AutoConfigureBefore(TraceAsyncDefaultAutoConfiguration.class) @ConditionalOnProperty(value = "spring.sleuth.async.enabled", matchIfMissing = true) -@AutoConfigureAfter(name = "org.springframework.cloud.sleuth.instrument.scheduling.TraceSchedulingAutoConfiguration", +@AutoConfigureAfter( + name = "org.springframework.cloud.sleuth.autoconfig.instrument.scheduling.TraceSchedulingAutoConfiguration", value = BraveAutoConfiguration.class) public class TraceAsyncCustomAutoConfiguration implements BeanPostProcessor {