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