Skip to content

Commit

Permalink
Update Connection.php
Browse files Browse the repository at this point in the history
These changes are imported from :
Fix parsing of NodesInfo for Sniffing
Closes elastic#629 and elastic#648
for sniffing to work properly.

elastic@c0ed43c
  • Loading branch information
ankushgup2a authored Feb 26, 2018
1 parent c57db9d commit 20667b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Elasticsearch/Connections/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ public function sniff()
]
];

return $this->performRequest('GET', '/_nodes/_all/clear', null, null, $options);
return $this->performRequest('GET', '/_nodes/', null, null, $options);
}

/**
Expand Down

0 comments on commit 20667b5

Please sign in to comment.