lib/elasticsearch/api/actions/reindex_rethrottle.rb in elasticsearch-api-7.7.0.pre vs lib/elasticsearch/api/actions/reindex_rethrottle.rb in elasticsearch-api-7.7.0
- old
+ new
@@ -9,10 +9,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/master/docs-reindex.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/docs-reindex.html
#
def reindex_rethrottle(arguments = {})
raise ArgumentError, "Required argument 'task_id' missing" unless arguments[:task_id]
headers = arguments.delete(:headers) || {}