Fixes #314.
Should be approximateZoneFromHostname instead of approximateZoneFromDomain.
This commit is contained in:
committed by
Spencer Gibb
parent
f682c42001
commit
3a22a5e702
@@ -607,7 +607,7 @@ server list will be constructed with "zone" information as provided in
|
||||
the instance metadata (so on the client set
|
||||
`eureka.instance.metadataMap.zone`), and if that is missing it can use
|
||||
the domain name from the server hostname as a proxy for zone (if the
|
||||
flag `approximateZoneFromDomain` is set). Once the zone information is
|
||||
flag `approximateZoneFromHostname` is set). Once the zone information is
|
||||
available it can be used in a `ServerListFilter` (by default it will
|
||||
be used to locate a server in the same zone as the client because the
|
||||
default is a `ZonePreferenceServerListFilter`).
|
||||
|
||||
Reference in New Issue
Block a user