From 0b9fc290d22fd1d6e4d1f21957dd6a207a0a8690 Mon Sep 17 00:00:00 2001 From: Spencer Gibb Date: Tue, 19 Jan 2016 17:18:50 -0700 Subject: [PATCH] Upgrade eureka to 1.3.7 fixes gh-779 --- spring-cloud-netflix-dependencies/pom.xml | 2 +- .../cloud/netflix/eureka/EurekaInstanceConfigBean.java | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/spring-cloud-netflix-dependencies/pom.xml b/spring-cloud-netflix-dependencies/pom.xml index 1c39798c..585a0ee8 100644 --- a/spring-cloud-netflix-dependencies/pom.xml +++ b/spring-cloud-netflix-dependencies/pom.xml @@ -17,7 +17,7 @@ 1.1.0.BUILD-SNAPSHOT 1.0.0.BUILD-SNAPSHOT 0.7.3 - 1.3.4 + 1.3.7 8.14.1 1.4.23 2.1.0 diff --git a/spring-cloud-netflix-eureka-client/src/main/java/org/springframework/cloud/netflix/eureka/EurekaInstanceConfigBean.java b/spring-cloud-netflix-eureka-client/src/main/java/org/springframework/cloud/netflix/eureka/EurekaInstanceConfigBean.java index f5c08e2f..4cd24991 100644 --- a/spring-cloud-netflix-eureka-client/src/main/java/org/springframework/cloud/netflix/eureka/EurekaInstanceConfigBean.java +++ b/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 String[] defaultAddressResolutionOrder = new String[0]; + public String getHostname() { return getHostName(false); }