Commit 3a22a5e7 by Ryan J Baxter Committed by Spencer Gibb

Fixes #314.

Should be approximateZoneFromHostname instead of approximateZoneFromDomain.
parent f682c420
...@@ -607,7 +607,7 @@ server list will be constructed with "zone" information as provided in ...@@ -607,7 +607,7 @@ server list will be constructed with "zone" information as provided in
the instance metadata (so on the client set the instance metadata (so on the client set
`eureka.instance.metadataMap.zone`), and if that is missing it can use `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 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 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 be used to locate a server in the same zone as the client because the
default is a `ZonePreferenceServerListFilter`). default is a `ZonePreferenceServerListFilter`).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment