lib/elasticsearch/api/actions/cat/master.rb in elasticsearch-api-1.0.18 vs lib/elasticsearch/api/actions/cat/master.rb in elasticsearch-api-1.1.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/master"
params = Utils.__validate_and_extract_params arguments, valid_params
body = nil