lib/elasticsearch/api/actions/cluster/reroute.rb in elasticsearch-api-2.0.2 vs lib/elasticsearch/api/actions/cluster/reroute.rb in elasticsearch-api-5.0.0.pre

- old
+ new

@@ -32,12 +32,9 @@ # @see http://elasticsearch.org/guide/reference/api/admin-cluster-reroute/ # def reroute(arguments={}) valid_params = [ :dry_run, :explain, :metric, :master_timeout, :retry_failed, :timeout ] - unsupported_params = [ :retry_failed ] - Utils.__report_unsupported_parameters(arguments.keys, unsupported_params) - method = HTTP_POST path = "_cluster/reroute" params = Utils.__validate_and_extract_params arguments, valid_params body = arguments[:body] || {}