There was an error while loading. Please reload this page.
1 parent e9bc900 commit d8312e4Copy full SHA for d8312e4
elasticsearch/client/__init__.py
@@ -142,7 +142,9 @@ def _bulk_body(self, body):
142
143
@query_params()
144
def ping(self, params=None):
145
- """ Returns True if the cluster is up, False otherwise. """
+ """
146
+ Returns True if the cluster is up, False otherwise.
147
148
try:
149
self.transport.perform_request('HEAD', '/', params=params)
150
except TransportError:
@@ -151,7 +153,9 @@ def ping(self, params=None):
151
153
152
154
155
def info(self, params=None):
- """ Get the basic info from the current cluster. """
156
157
+ Get the basic info from the current cluster.
158
159
_, data = self.transport.perform_request('GET', '/', params=params)
160
return data
161
0 commit comments