lib/elasticsearch/api/actions/indices/recovery.rb in elasticsearch-api-1.0.6 vs lib/elasticsearch/api/actions/indices/recovery.rb in elasticsearch-api-1.0.7
- old
+ new
@@ -27,10 +27,10 @@
def recovery(arguments={})
valid_params = [
:detailed,
:active_only,
:human ]
- method = 'GET'
+ method = HTTP_GET
path = Utils.__pathify Utils.__listify(arguments[:index]), '_recovery'
params = Utils.__validate_and_extract_params arguments, valid_params
body = nil
perform_request(method, path, params, body).body