From 3a22a5e70234bd4a8b299abce3b6f1b8b539c20a Mon Sep 17 00:00:00 2001 From: Ryan J Baxter Date: Fri, 10 Jul 2015 10:08:38 -0400 Subject: [PATCH] Fixes #314. Should be approximateZoneFromHostname instead of approximateZoneFromDomain. --- docs/src/main/asciidoc/spring-cloud-netflix.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/main/asciidoc/spring-cloud-netflix.adoc b/docs/src/main/asciidoc/spring-cloud-netflix.adoc index b3a0dc48..44a0448f 100644 --- a/docs/src/main/asciidoc/spring-cloud-netflix.adoc +++ b/docs/src/main/asciidoc/spring-cloud-netflix.adoc @@ -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`).