Commit a7455c1f1e39fed476ff116c882a28fa21e10a20
1 parent
04acd0e3
修改获得注册信息配置为true
Showing
1 changed file
with
1 additions
and
1 deletions
class-service.yml
| @@ -91,7 +91,7 @@ eureka: | @@ -91,7 +91,7 @@ eureka: | ||
| 91 | leaseExpirationDurationInSeconds: 15 | 91 | leaseExpirationDurationInSeconds: 15 |
| 92 | client: | 92 | client: |
| 93 | registerWithEureka: true | 93 | registerWithEureka: true |
| 94 | - fetchRegistry: false | 94 | + fetchRegistry: true |
| 95 | serviceUrl: | 95 | serviceUrl: |
| 96 | defaultZone: http://discovery:15200/eureka/ | 96 | defaultZone: http://discovery:15200/eureka/ |
| 97 | healthcheck: | 97 | healthcheck: |