mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Merge branch '1.1.x'
This commit is contained in:
commit
f5f0952837
@ -242,7 +242,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());
|
||||
|
Loading…
Reference in New Issue
Block a user