Commit a9a8b8624072efc2a16fc0d2bd76a89df8a070c2
1 parent
71f6bf6d
修改fetchRegistry为true
Showing
1 changed file
with
1 additions
and
1 deletions
gateway.yml
| @@ -30,7 +30,7 @@ eureka: | @@ -30,7 +30,7 @@ eureka: | ||
| 30 | hostname: gateway | 30 | hostname: gateway |
| 31 | client: | 31 | client: |
| 32 | registerWithEureka: true | 32 | registerWithEureka: true |
| 33 | - fetchRegistry: false | 33 | + fetchRegistry: true |
| 34 | serviceUrl: | 34 | serviceUrl: |
| 35 | defaultZone: http://discovery:15200/eureka/ | 35 | defaultZone: http://discovery:15200/eureka/ |
| 36 | 36 |