lib/elasticsearch/api/actions/indices/flush.rb in elasticsearch-api-1.0.6 vs lib/elasticsearch/api/actions/indices/flush.rb in elasticsearch-api-1.0.7
- old
+ new
@@ -36,10 +36,10 @@
:ignore_unavailable,
:allow_no_indices,
:expand_wildcards,
:refresh ]
- method = 'POST'
+ method = HTTP_POST
path = Utils.__pathify Utils.__listify(arguments[:index]), '_flush'
params = Utils.__validate_and_extract_params arguments, valid_params
body = nil