Skip to content

Commit 8eb4dce

Browse files
fgravelaineezimuel
authored andcommitted
Update node-pool.asciidoc (#1270)
Fix typo in the SimpleNodePool documentation (#1269 )
1 parent 14454ba commit 8eb4dce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/node-pool.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ use Elastic\Transport\NodePool\Selector\RoundRobin;
4545
use Elastic\Transport\NodePool\SimpleNodePool;
4646
4747
$nodePool = new SimpleNodePool(
48-
new SimpleNodePool(),
48+
new RoundRobin(),
4949
new ElasticsearchResurrect()
5050
);
5151
@@ -69,4 +69,4 @@ You can use the following interfaces for the implementation:
6969
* https://github.com/elastic/elastic-transport-php/blob/master/src/NodePool/Resurrect/ResurrectInterface.php[ResurrectInterface]
7070

7171
For more information about the Node Pool you can read the
72-
https://github.com/elastic/elastic-transport-php/blob/master/README.md[elastic-transport-php documentation].
72+
https://github.com/elastic/elastic-transport-php/blob/master/README.md[elastic-transport-php documentation].

0 commit comments

Comments
 (0)