From d5b5e94355c96fe9f50f96709365546b720383d6 Mon Sep 17 00:00:00 2001 From: Francois Gravelaine <2759515+fgravelaine@users.noreply.github.com> Date: Mon, 30 Jan 2023 17:41:42 +0100 Subject: [PATCH] Update node-pool.asciidoc (#1270) Fix typo in the SimpleNodePool documentation (#1269 ) --- docs/node-pool.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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].