Should be approximateZoneFromHostname instead of approximateZoneFromDomain.
This commit is contained in:
Ryan J Baxter
2015-07-10 10:08:38 -04:00
committed by Spencer Gibb
parent f682c42001
commit 3a22a5e702

View File

@@ -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`).