Merge pull request #2654 from poo0054/2.2.x

Update SentinelAutoConfiguration.java
pull/2660/head
Freeman Liu 3 years ago committed by GitHub
commit b8321a2248
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -147,7 +147,7 @@ public class SentinelAutoConfiguration {
@ConditionalOnClass(name = "org.springframework.web.client.RestTemplate")
@ConditionalOnProperty(name = "resttemplate.sentinel.enabled", havingValue = "true",
matchIfMissing = true)
public SentinelBeanPostProcessor sentinelBeanPostProcessor(
public static SentinelBeanPostProcessor sentinelBeanPostProcessor(
ApplicationContext applicationContext) {
return new SentinelBeanPostProcessor(applicationContext);
}

Loading…
Cancel
Save