lib/elasticsearch/xpack/api/actions/sql/get_async.rb in elasticsearch-xpack-7.14.1 vs lib/elasticsearch/xpack/api/actions/sql/get_async.rb in elasticsearch-xpack-7.15.0
- old
+ new
@@ -27,11 +27,11 @@
# @option arguments [String] :format Short version of the Accept header, e.g. json, yaml
# @option arguments [Time] :keep_alive Retention period for the search and its results
# @option arguments [Time] :wait_for_completion_timeout Duration to wait for complete results
# @option arguments [Hash] :headers Custom HTTP headers
#
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.14/get-async-sql-search-api.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.15/get-async-sql-search-api.html
#
def get_async(arguments = {})
raise ArgumentError, "Required argument 'id' missing" unless arguments[:id]
headers = arguments.delete(:headers) || {}
@@ -40,10 +40,11 @@
_id = arguments.delete(:id)
method = Elasticsearch::API::HTTP_GET
path = "_sql/async/#{Elasticsearch::API::Utils.__listify(_id)}"
- params = Elasticsearch::API::Utils.__validate_and_extract_params arguments, ParamsRegistry.get(__method__)
+ params = Elasticsearch::API::Utils.__validate_and_extract_params arguments,
+ ParamsRegistry.get(__method__)
body = nil
perform_request(method, path, params, body, headers).body
end