lib/elasticsearch/api/actions/cat/fielddata.rb in elasticsearch-api-1.0.6 vs lib/elasticsearch/api/actions/cat/fielddata.rb in elasticsearch-api-1.0.7
- old
+ new
@@ -34,10 +34,10 @@
:v,
:fields ]
fields = arguments.delete(:fields)
- method = 'GET'
+ method = HTTP_GET
path = Utils.__pathify "_cat/fielddata", Utils.__listify(fields)
params = Utils.__validate_and_extract_params arguments, valid_params
body = nil
perform_request(method, path, params, body).body