lib/elasticsearch/api/actions/cat/shards.rb in elasticsearch-api-1.0.6 vs lib/elasticsearch/api/actions/cat/shards.rb in elasticsearch-api-1.0.7
- old
+ new
@@ -53,10 +53,10 @@
:help,
:v ]
index = arguments.delete(:index)
- method = 'GET'
+ method = HTTP_GET
path = Utils.__pathify '_cat/shards', Utils.__listify(index)
params = Utils.__validate_and_extract_params arguments, valid_params
params[:h] = Utils.__listify(params[:h]) if params[:h]