diff --git a/docs/host.asciidoc b/docs/host.asciidoc index 98bc353c8..cd21f0fc7 100644 --- a/docs/host.asciidoc +++ b/docs/host.asciidoc @@ -85,7 +85,7 @@ var client = new elasticsearch.Client({ weight: 50 } ], - selector: function (hosts) { + selector: function (nodes) { var myCountry = process.env.COUNTRY; // first try to find a node that is in the same country var selection = _.find(nodes, function (node) {