lib/elasticsearch/api/actions/transform/upgrade_transforms.rb in elasticsearch-api-8.12.2 vs lib/elasticsearch/api/actions/transform/upgrade_transforms.rb in elasticsearch-api-8.13.0

- old
+ new

@@ -26,21 +26,21 @@ # # @option arguments [Boolean] :dry_run Whether to only check for updates but don't execute # @option arguments [Time] :timeout Controls the time to wait for the upgrade # @option arguments [Hash] :headers Custom HTTP headers # - # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.12/upgrade-transforms.html + # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.13/upgrade-transforms.html # def upgrade_transforms(arguments = {}) - request_opts = { endpoint: arguments[:endpoint] || "transform.upgrade_transforms" } + request_opts = { endpoint: arguments[:endpoint] || 'transform.upgrade_transforms' } arguments = arguments.clone headers = arguments.delete(:headers) || {} body = nil method = Elasticsearch::API::HTTP_POST - path = "_transform/_upgrade" + path = '_transform/_upgrade' params = Utils.process_params(arguments) Elasticsearch::API::Response.new( perform_request(method, path, params, body, headers, request_opts) )