fix: nutzboot-demo-cloud-client don't work

This commit is contained in:
Wendal Chen 2018-08-12 14:36:16 +08:00
parent 0f1e38b1c3
commit 8f60c0dcd9
2 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@
<dependency> <dependency>
<groupId>com.netflix.ribbon</groupId> <groupId>com.netflix.ribbon</groupId>
<artifactId>ribbon-eureka</artifactId> <artifactId>ribbon-eureka</artifactId>
<version>2.3-SNAPSHOT</version> <version>2.2.4</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
</dependencies> </dependencies>

View File

@ -39,8 +39,8 @@ eureka.preferSameZone=false
eureka.shouldUseDns=false eureka.shouldUseDns=false
# Since shouldUseDns is false, we use the following properties to explicitly specify the route to the eureka servers # Since shouldUseDns is false, we use the following properties to explicitly specify the route to the eureka servers
eureka.serviceUrl.default=http://eureka.nutz.cn/eureka/v2 #eureka.serviceUrl.default=http://eureka.nutz.cn/eureka/v2
#eureka.serviceUrl.default=http://127.0.0.1:8080/eureka/v2 eureka.serviceUrl.default=http://127.0.0.1:8080/eureka/v2
# for the eureka server's own client config, set on-demand update to false as it may be too quick for the REST # for the eureka server's own client config, set on-demand update to false as it may be too quick for the REST
# resource initialization # resource initialization