lib/elasticsearch/api/actions/cat/indices.rb in elasticsearch-api-1.1.3 vs lib/elasticsearch/api/actions/cat/indices.rb in elasticsearch-api-2.0.0.pre
- old
+ new
@@ -56,9 +56,12 @@
:h,
:help,
:pri,
:v ]
+ unsupported_params = [ :format ]
+ Utils.__report_unsupported_parameters(arguments.keys, unsupported_params)
+
index = arguments.delete(:index)
method = HTTP_GET
path = Utils.__pathify '_cat/indices', Utils.__listify(index)