lib/elasticsearch/api/actions/cat/pending_tasks.rb in elasticsearch-api-1.1.3 vs lib/elasticsearch/api/actions/cat/pending_tasks.rb in elasticsearch-api-2.0.0.pre
- old
+ new
@@ -33,9 +33,12 @@
:master_timeout,
:h,
:help,
:v ]
+ unsupported_params = [ :format ]
+ Utils.__report_unsupported_parameters(arguments.keys, unsupported_params)
+
method = HTTP_GET
path = "_cat/pending_tasks"
params = Utils.__validate_and_extract_params arguments, valid_params
params[:h] = Utils.__listify(params[:h]) if params[:h]
body = nil