修复 spring cloud 环境下 eureka bean 名称重复. (#44)

pull/84/head
chen.ma 3 years ago
parent 40244fbfac
commit 804180d242

@ -59,7 +59,7 @@ public class DiscoveryConfig {
} }
@Bean @Bean
public DiscoveryClient discoveryClient(HttpAgent httpAgent, InstanceInfo instanceInfo) { public DiscoveryClient hippo4JDiscoveryClient(HttpAgent httpAgent, InstanceInfo instanceInfo) {
return new DiscoveryClient(httpAgent, instanceInfo); return new DiscoveryClient(httpAgent, instanceInfo);
} }

Loading…
Cancel
Save