Skip to content

Commit

Permalink
Merge pull request #325 from AlexElin/fix_conflicting_bean_name
Browse files Browse the repository at this point in the history
(fix): bean name collision
  • Loading branch information
xtermi2 authored Jul 19, 2024
2 parents 1d7f14d + 963cd7b commit f228f9c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public RestClientBuilder restClientBuilder(
@Bean
@ConditionalOnBean(RestClientBuilder.class)
@ConditionalOnMissingBean
public RestClient restClient(RestClientBuilder restClientBuilder) {
public RestClient elasticRestClient(RestClientBuilder restClientBuilder) {
logger.info("creating RestClient from {}", restClientBuilder);
return restClientBuilder.build();
}
Expand Down

0 comments on commit f228f9c

Please sign in to comment.