Update transport.py

This commit is contained in:
Andrew Odendaal
2018-01-05 13:50:52 +00:00
committed by GitHub
parent 3fd2c1a29d
commit 90972e3983
+2 -2
View File
@@ -132,8 +132,8 @@ class Transport(object):
def set_connections(self, hosts): def set_connections(self, hosts):
""" """
Instantiate all the connections and create new connection pool to hold Instantiate all the connections and create new connection pool to hold them.
them. Tries to identify unchanged hosts and re-use existing Tries to identify unchanged hosts and re-use existing
:class:`~elasticsearch.Connection` instances. :class:`~elasticsearch.Connection` instances.
:arg hosts: same as `__init__` :arg hosts: same as `__init__`