lib/elasticsearch/api/actions/cat/aliases.rb in elasticsearch-api-1.0.18 vs lib/elasticsearch/api/actions/cat/aliases.rb in elasticsearch-api-1.1.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)