lib/elasticsearch/api/actions/shutdown/put_node.rb in elasticsearch-api-8.1.0 vs lib/elasticsearch/api/actions/shutdown/put_node.rb in elasticsearch-api-8.1.2

- old
+ new

@@ -29,14 +29,13 @@ # def put_node(arguments = {}) raise ArgumentError, "Required argument 'body' missing" unless arguments[:body] raise ArgumentError, "Required argument 'node_id' missing" unless arguments[:node_id] + arguments = arguments.clone headers = arguments.delete(:headers) || {} body = arguments.delete(:body) - - arguments = arguments.clone _node_id = arguments.delete(:node_id) method = Elasticsearch::API::HTTP_PUT path = "_nodes/#{Utils.__listify(_node_id)}/shutdown"