lib/elasticsearch/api/actions/cat/plugins.rb in elasticsearch-api-1.1.3 vs lib/elasticsearch/api/actions/cat/plugins.rb in elasticsearch-api-2.0.0.pre
- old
+ new
@@ -20,10 +20,13 @@
:master_timeout,
:h,
:help,
:v ]
- method = 'GET'
+ unsupported_params = [ :format ]
+ Utils.__report_unsupported_parameters(arguments.keys, unsupported_params)
+
+ method = HTTP_GET
path = "_cat/plugins"
params = Utils.__validate_and_extract_params arguments, valid_params
body = nil
perform_request(method, path, params, body).body