Browse Source

Move properties to parameter.

Fixes gh-850
pull/855/head
spencergibb 4 years ago
parent
commit
17a82c21aa
No known key found for this signature in database
GPG Key ID: 7788A47380690861
  1. 4
      spring-cloud-commons/src/main/java/org/springframework/cloud/client/discovery/simple/reactive/SimpleReactiveDiscoveryClientAutoConfiguration.java

4
spring-cloud-commons/src/main/java/org/springframework/cloud/client/discovery/simple/reactive/SimpleReactiveDiscoveryClientAutoConfiguration.java

@ -77,8 +77,8 @@ public class SimpleReactiveDiscoveryClientAutoConfiguration
@Bean @Bean
@Order @Order
public SimpleReactiveDiscoveryClient simpleReactiveDiscoveryClient() { public SimpleReactiveDiscoveryClient simpleReactiveDiscoveryClient(SimpleReactiveDiscoveryProperties properties) {
return new SimpleReactiveDiscoveryClient(simpleReactiveDiscoveryProperties()); return new SimpleReactiveDiscoveryClient(properties);
} }
private int findPort() { private int findPort() {

Loading…
Cancel
Save