lib/elasticsearch/api/actions/transform/update_transform.rb in elasticsearch-api-8.1.0 vs lib/elasticsearch/api/actions/transform/update_transform.rb in elasticsearch-api-8.1.2

- old
+ new

@@ -31,14 +31,13 @@ # def update_transform(arguments = {}) raise ArgumentError, "Required argument 'body' missing" unless arguments[:body] raise ArgumentError, "Required argument 'transform_id' missing" unless arguments[:transform_id] + arguments = arguments.clone headers = arguments.delete(:headers) || {} body = arguments.delete(:body) - - arguments = arguments.clone _transform_id = arguments.delete(:transform_id) method = Elasticsearch::API::HTTP_POST path = "_transform/#{Utils.__listify(_transform_id)}/_update"