lib/elasticsearch/api/actions/cluster/reroute.rb in elasticsearch-api-1.0.6 vs lib/elasticsearch/api/actions/cluster/reroute.rb in elasticsearch-api-1.0.7

- old
+ new

@@ -30,10 +30,10 @@ # @see http://elasticsearch.org/guide/reference/api/admin-cluster-reroute/ # def reroute(arguments={}) valid_params = [ :dry_run, :explain, :metric, :master_timeout, :timeout ] - method = 'POST' + method = HTTP_POST path = "_cluster/reroute" params = Utils.__validate_and_extract_params arguments, valid_params body = arguments[:body] || {}