Skip to content

Commit e70c18d

Browse files
committed
Fix name of solr health indicator
Fixes gh-2410
1 parent 93b2a17 commit e70c18d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/HealthIndicatorAutoConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ public static class SolrHealthIndicatorConfiguration {
215215

216216
@Bean
217217
@ConditionalOnMissingBean(name = "solrHealthIndicator")
218-
public HealthIndicator rabbitHealthIndicator() {
218+
public HealthIndicator solrHealthIndicator() {
219219
if (this.solrServers.size() == 1) {
220220
return new SolrHealthIndicator(this.solrServers.entrySet().iterator()
221221
.next().getValue());

0 commit comments

Comments
 (0)