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

- old
+ new

@@ -29,13 +29,14 @@ # 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"