Skip to content

Commit

Permalink
In order to preserve old behaviour, don't try to create RestClient-…
Browse files Browse the repository at this point in the history
…based RegistrationClient, when `RestTemplateBuilder` bean is present.
  • Loading branch information
Jacek Bilski committed Dec 20, 2024
1 parent 7cc80ad commit 2dff866
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ public RegistrationClient registrationClient(ClientProperties client) {

@Configuration(proxyBeanMethods = false)
@ConditionalOnBean(RestClient.Builder.class)
@ConditionalOnMissingBean(RestTemplateBuilder.class)
public static class RestClientRegistrationClientConfig {

@Bean
Expand Down

0 comments on commit 2dff866

Please sign in to comment.