lib/elasticsearch/api/actions/cat/aliases.rb in elasticsearch-api-1.0.6 vs lib/elasticsearch/api/actions/cat/aliases.rb in elasticsearch-api-1.0.7

- old
+ new

@@ -48,10 +48,10 @@ :help, :v ] name = arguments.delete(:name) - method = 'GET' + method = HTTP_GET path = Utils.__pathify '_cat/aliases', Utils.__listify(name) params = Utils.__validate_and_extract_params arguments, valid_params params[:h] = Utils.__listify(params[:h]) if params[:h]