From e70c18d05b6bdc2d68fe695ed0731a6326f06285 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Mon, 26 Jan 2015 03:27:53 +0100 Subject: [PATCH] Fix name of solr health indicator Fixes gh-2410 --- .../actuate/autoconfigure/HealthIndicatorAutoConfiguration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/HealthIndicatorAutoConfiguration.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/HealthIndicatorAutoConfiguration.java index f474eea14b..7f4f86dbe1 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/HealthIndicatorAutoConfiguration.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/HealthIndicatorAutoConfiguration.java @@ -215,7 +215,7 @@ public class HealthIndicatorAutoConfiguration { @Bean @ConditionalOnMissingBean(name = "solrHealthIndicator") - public HealthIndicator rabbitHealthIndicator() { + public HealthIndicator solrHealthIndicator() { if (this.solrServers.size() == 1) { return new SolrHealthIndicator(this.solrServers.entrySet().iterator() .next().getValue());