lib/elasticsearch/api/actions/cat/plugins.rb in elasticsearch-api-8.0.1 vs lib/elasticsearch/api/actions/cat/plugins.rb in elasticsearch-api-8.1.0
- old
+ new
@@ -29,16 +29,17 @@
# @option arguments [Boolean] :include_bootstrap Include bootstrap plugins in the response
# @option arguments [List] :s Comma-separated list of column names or column aliases to sort by
# @option arguments [Boolean] :v Verbose mode. Display column headers
# @option arguments [Hash] :headers Custom HTTP headers
#
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-plugins.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.1/cat-plugins.html
#
def plugins(arguments = {})
- arguments = arguments.clone
headers = arguments.delete(:headers) || {}
- body = nil
+ body = nil
+
+ arguments = arguments.clone
method = Elasticsearch::API::HTTP_GET
path = "_cat/plugins"
params = Utils.process_params(arguments)