lib/elasticsearch/api/actions/tasks/list.rb in elasticsearch-api-7.8.1 vs lib/elasticsearch/api/actions/tasks/list.rb in elasticsearch-api-7.9.0.pre
- old
+ new
@@ -26,14 +26,15 @@
# @option arguments [Boolean] :detailed Return detailed task information (default: false)
# @option arguments [String] :parent_task_id Return tasks with specified parent task id (node_id:task_number). Set to -1 to return all.
# @option arguments [Boolean] :wait_for_completion Wait for the matching tasks to complete (default: false)
# @option arguments [String] :group_by Group tasks by nodes or parent/child relationships
# (options: nodes,parents,none)
+
# @option arguments [Time] :timeout Explicit operation timeout
# @option arguments [Hash] :headers Custom HTTP headers
#
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.8/tasks.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.x/tasks.html
#
def list(arguments = {})
headers = arguments.delete(:headers) || {}
arguments = arguments.clone
@@ -56,9 +57,9 @@
:parent_task_id,
:wait_for_completion,
:group_by,
:timeout
].freeze)
-end
end
+ end
end
end