See gh-18194
pull/18341/head
Stephane Nicoll 5 years ago
parent ddc96c1a62
commit 3c8402f6af

@ -39,14 +39,9 @@ import org.springframework.context.annotation.Configuration;
*/
@Configuration(proxyBeanMethods = false)
@SuppressWarnings("deprecation")
@EnableConfigurationProperties
@EnableConfigurationProperties(HealthIndicatorProperties.class)
class LegacyHealthEndpointCompatibilityConfiguration {
@Bean
HealthIndicatorProperties healthIndicatorProperties() {
return new HealthIndicatorProperties();
}
@Bean
@ConditionalOnMissingBean
HealthAggregator healthAggregator(HealthIndicatorProperties healthIndicatorProperties) {

Loading…
Cancel
Save