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