diff --git a/docs/node-pool.asciidoc b/docs/node-pool.asciidoc index c48e8bc70..fd309a908 100644 --- a/docs/node-pool.asciidoc +++ b/docs/node-pool.asciidoc @@ -45,7 +45,7 @@ use Elastic\Transport\NodePool\Selector\RoundRobin; use Elastic\Transport\NodePool\SimpleNodePool; $nodePool = new SimpleNodePool( - new SimpleNodePool(), + new RoundRobin(), new ElasticsearchResurrect() ); @@ -69,4 +69,4 @@ You can use the following interfaces for the implementation: * https://github.com/elastic/elastic-transport-php/blob/master/src/NodePool/Resurrect/ResurrectInterface.php[ResurrectInterface] For more information about the Node Pool you can read the -https://github.com/elastic/elastic-transport-php/blob/master/README.md[elastic-transport-php documentation]. \ No newline at end of file +https://github.com/elastic/elastic-transport-php/blob/master/README.md[elastic-transport-php documentation].