|
|
@ -68,8 +68,8 @@ public class SimpleDiscoveryClientAutoConfiguration |
|
|
|
|
|
|
|
|
|
|
|
@Bean |
|
|
|
@Bean |
|
|
|
@Order |
|
|
|
@Order |
|
|
|
public DiscoveryClient simpleDiscoveryClient() { |
|
|
|
public DiscoveryClient simpleDiscoveryClient(SimpleDiscoveryProperties properties) { |
|
|
|
return new SimpleDiscoveryClient(simpleDiscoveryProperties()); |
|
|
|
return new SimpleDiscoveryClient(properties); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private int findPort() { |
|
|
|
private int findPort() { |
|
|
|