lib/elasticsearch/api/actions/reindex_rethrottle.rb in elasticsearch-api-7.11.2 vs lib/elasticsearch/api/actions/reindex_rethrottle.rb in elasticsearch-api-7.12.0
- old
+ new
@@ -22,10 +22,10 @@
#
# @option arguments [String] :task_id The task id to rethrottle
# @option arguments [Number] :requests_per_second The throttle to set on this request in floating sub-requests per second. -1 means set no throttle. (*Required*)
# @option arguments [Hash] :headers Custom HTTP headers
#
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.11/docs-reindex.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.12/docs-reindex.html
#
def reindex_rethrottle(arguments = {})
raise ArgumentError, "Required argument 'task_id' missing" unless arguments[:task_id]
headers = arguments.delete(:headers) || {}