From ce27faf296bc66ce89558f4e6f9947c7763aa86a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Honza=20Kr=C3=A1l?= Date: Sat, 18 Jan 2014 01:53:47 +0100 Subject: [PATCH] Node info api has moved --- elasticsearch/transport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elasticsearch/transport.py b/elasticsearch/transport.py index 3b5a7abc..972675d5 100644 --- a/elasticsearch/transport.py +++ b/elasticsearch/transport.py @@ -169,7 +169,7 @@ class Transport(object): for c in self.connection_pool.connections + self.seed_connections: try: # use small timeout for the sniffing request, should be a fast api call - _, headers, node_info = c.perform_request('GET', '/_cluster/nodes', timeout=.1) + _, headers, node_info = c.perform_request('GET', '/_nodes', timeout=.1) node_info = self.deserializer.loads(node_info, headers.get('content-type')) break except (ConnectionError, SerializationError):