Commit 3c8402f6 authored by Stephane Nicoll's avatar Stephane Nicoll

Polish

See gh-18194
parent ddc96c1a
...@@ -39,14 +39,9 @@ import org.springframework.context.annotation.Configuration; ...@@ -39,14 +39,9 @@ import org.springframework.context.annotation.Configuration;
*/ */
@Configuration(proxyBeanMethods = false) @Configuration(proxyBeanMethods = false)
@SuppressWarnings("deprecation") @SuppressWarnings("deprecation")
@EnableConfigurationProperties @EnableConfigurationProperties(HealthIndicatorProperties.class)
class LegacyHealthEndpointCompatibilityConfiguration { class LegacyHealthEndpointCompatibilityConfiguration {
@Bean
HealthIndicatorProperties healthIndicatorProperties() {
return new HealthIndicatorProperties();
}
@Bean @Bean
@ConditionalOnMissingBean @ConditionalOnMissingBean
HealthAggregator healthAggregator(HealthIndicatorProperties healthIndicatorProperties) { HealthAggregator healthAggregator(HealthIndicatorProperties healthIndicatorProperties) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment