lib/elasticsearch/api/actions/reindex_rethrottle.rb in elasticsearch-api-7.8.1 vs lib/elasticsearch/api/actions/reindex_rethrottle.rb in elasticsearch-api-7.9.0.pre
- old
+ new
@@ -22,11 +22,11 @@
#
# @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.8/docs-reindex.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.x/docs-reindex.html
#
def reindex_rethrottle(arguments = {})
raise ArgumentError, "Required argument 'task_id' missing" unless arguments[:task_id]
headers = arguments.delete(:headers) || {}
@@ -48,7 +48,7 @@
# @since 6.2.0
ParamsRegistry.register(:reindex_rethrottle, [
:requests_per_second
].freeze)
end
- end
+ end
end