[7.x] Fix typos in documentation
Co-authored-by: Seth Michael Larson <seth.larson@elastic.co>
This commit is contained in:
committed by
Seth Michael Larson
parent
eba1c0d9dc
commit
305f894c1f
@@ -4,7 +4,7 @@ Connection Layer API
|
||||
====================
|
||||
|
||||
All of the classes responsible for handling the connection to the Elasticsearch
|
||||
cluster. The default subclasses used can be overriden by passing parameters to the
|
||||
cluster. The default subclasses used can be overridden by passing parameters to the
|
||||
:class:`~elasticsearch.Elasticsearch` class. All of the arguments to the client
|
||||
will be passed on to :class:`~elasticsearch.Transport`,
|
||||
:class:`~elasticsearch.ConnectionPool` and :class:`~elasticsearch.Connection`.
|
||||
|
||||
@@ -246,7 +246,7 @@ class ConnectionPool(object):
|
||||
instance.
|
||||
|
||||
It tries to resurrect eligible connections, forces a resurrection when
|
||||
no connections are availible and passes the list of live connections to
|
||||
no connections are available and passes the list of live connections to
|
||||
the selector instance to choose from.
|
||||
|
||||
Returns a connection instance and it's current fail count.
|
||||
|
||||
@@ -158,7 +158,7 @@ class API:
|
||||
if isinstance(definition["documentation"], str):
|
||||
self.doc_url = definition["documentation"]
|
||||
else:
|
||||
# set as attribute so it may be overriden by Module.add
|
||||
# set as attribute so it may be overridden by Module.add
|
||||
self.description = (
|
||||
definition["documentation"].get("description", "").strip()
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user