fix:fix Feign.Builder.class not found error

pull/15/head
Haotian Zhang 3 years ago committed by GitHub
parent 076201496d
commit ad651b3939
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -29,18 +29,14 @@ import org.springframework.context.annotation.Configuration;
* @author Haotian Zhang
*/
@Configuration
@ConditionalOnProperty(name = "com.tencent.cloud.feign.enabled", matchIfMissing = true)
@ConditionalOnClass(Feign.class)
public class PluggableFeignAutoConfiguration {
@Configuration
@ConditionalOnProperty(name = "com.tencent.cloud.feign.enabled", matchIfMissing = true)
static class PluggableFeignConfig {
@Bean
@ConditionalOnMissingBean
public Feign.Builder pluggableFeignBuilder() {
return PluggableFeign.builder();
}
}
}

Loading…
Cancel
Save