From 9016c695a69e5a26fa9e2d19117c093200eea3b3 Mon Sep 17 00:00:00 2001 From: Jason Song Date: Fri, 29 Apr 2016 15:28:36 +0800 Subject: [PATCH] preferIpAddress --- apollo-adminservice/src/main/resources/bootstrap.yml | 8 +------- apollo-configservice/src/main/resources/bootstrap.yml | 7 ------- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/apollo-adminservice/src/main/resources/bootstrap.yml b/apollo-adminservice/src/main/resources/bootstrap.yml index b04fd2a5c..b61175175 100644 --- a/apollo-adminservice/src/main/resources/bootstrap.yml +++ b/apollo-adminservice/src/main/resources/bootstrap.yml @@ -1,15 +1,9 @@ eureka: instance: hostname: ${hostname:localhost} + preferIpAddress: true client: serviceUrl: defaultZone: http://${eureka.instance.hostname}:8080/eureka/ healthcheck: enabled: true - -ctrip: - eureka: - dev: ${ctrip_eureka_dev} - fat: ${ctrip_eureka_fat} - uat: ${ctrip_eureka_uat} - pro: ${ctrip_eureka_pro} \ No newline at end of file diff --git a/apollo-configservice/src/main/resources/bootstrap.yml b/apollo-configservice/src/main/resources/bootstrap.yml index effd51907..b61175175 100644 --- a/apollo-configservice/src/main/resources/bootstrap.yml +++ b/apollo-configservice/src/main/resources/bootstrap.yml @@ -7,10 +7,3 @@ eureka: defaultZone: http://${eureka.instance.hostname}:8080/eureka/ healthcheck: enabled: true - -ctrip: - eureka: - dev: ${ctrip_eureka_dev} - fat: ${ctrip_eureka_fat} - uat: ${ctrip_eureka_uat} - pro: ${ctrip_eureka_pro} \ No newline at end of file -- GitLab