lib/elasticsearch/api/actions/transform/get_transform.rb in elasticsearch-api-8.0.1 vs lib/elasticsearch/api/actions/transform/get_transform.rb in elasticsearch-api-8.1.0

- old
+ new

@@ -26,16 +26,17 @@ # @option arguments [Integer] :size specifies a max number of transforms to get, defaults to 100 # @option arguments [Boolean] :allow_no_match Whether to ignore if a wildcard expression matches no transforms. (This includes `_all` string or when no transforms have been specified) # @option arguments [Boolean] :exclude_generated Omits fields that are illegal to set on transform PUT # @option arguments [Hash] :headers Custom HTTP headers # - # @see https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform.html + # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.1/get-transform.html # def get_transform(arguments = {}) - arguments = arguments.clone headers = arguments.delete(:headers) || {} body = nil + + arguments = arguments.clone _transform_id = arguments.delete(:transform_id) method = Elasticsearch::API::HTTP_GET path = if _transform_id