Merge pull request #676 from marcocova/fix-typo-in-elasticsearch-client
fix typo in comment (minor)
This commit is contained in:
@@ -181,7 +181,7 @@ class Elasticsearch(object):
|
|||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
try:
|
try:
|
||||||
# get a lost of all connections
|
# get a list of all connections
|
||||||
cons = self.transport.hosts
|
cons = self.transport.hosts
|
||||||
# truncate to 10 if there are too many
|
# truncate to 10 if there are too many
|
||||||
if len(cons) > 5:
|
if len(cons) > 5:
|
||||||
|
|||||||
Reference in New Issue
Block a user