Browse Source

Upgrade eureka to 1.3.7

fixes gh-779
pull/6/head
Spencer Gibb 9 years ago
parent
commit
0b9fc290d2
  1. 2
      spring-cloud-netflix-dependencies/pom.xml
  2. 2
      spring-cloud-netflix-eureka-client/src/main/java/org/springframework/cloud/netflix/eureka/EurekaInstanceConfigBean.java

2
spring-cloud-netflix-dependencies/pom.xml

@ -17,7 +17,7 @@
<spring-cloud-config.version>1.1.0.BUILD-SNAPSHOT</spring-cloud-config.version> <spring-cloud-config.version>1.1.0.BUILD-SNAPSHOT</spring-cloud-config.version>
<spring-cloud-stream.version>1.0.0.BUILD-SNAPSHOT</spring-cloud-stream.version> <spring-cloud-stream.version>1.0.0.BUILD-SNAPSHOT</spring-cloud-stream.version>
<archaius.version>0.7.3</archaius.version> <archaius.version>0.7.3</archaius.version>
<eureka.version>1.3.4</eureka.version> <eureka.version>1.3.7</eureka.version>
<feign.version>8.14.1</feign.version> <feign.version>8.14.1</feign.version>
<hystrix.version>1.4.23</hystrix.version> <hystrix.version>1.4.23</hystrix.version>
<ribbon.version>2.1.0</ribbon.version> <ribbon.version>2.1.0</ribbon.version>

2
spring-cloud-netflix-eureka-client/src/main/java/org/springframework/cloud/netflix/eureka/EurekaInstanceConfigBean.java

@ -273,6 +273,8 @@ public class EurekaInstanceConfigBean implements CloudEurekaInstanceConfig {
*/ */
private InstanceStatus initialStatus = InstanceStatus.UP; private InstanceStatus initialStatus = InstanceStatus.UP;
private String[] defaultAddressResolutionOrder = new String[0];
public String getHostname() { public String getHostname() {
return getHostName(false); return getHostName(false);
} }

Loading…
Cancel
Save