lib/elasticsearch/api/actions/cluster/put_settings.rb in elasticsearch-api-8.1.0 vs lib/elasticsearch/api/actions/cluster/put_settings.rb in elasticsearch-api-8.1.2

- old
+ new

@@ -30,14 +30,13 @@ # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.1/cluster-update-settings.html # def put_settings(arguments = {}) raise ArgumentError, "Required argument 'body' missing" unless arguments[:body] + arguments = arguments.clone headers = arguments.delete(:headers) || {} body = arguments.delete(:body) || {} - - arguments = arguments.clone method = Elasticsearch::API::HTTP_PUT path = "_cluster/settings" params = Utils.process_params(arguments)