lib/elasticsearch/api/actions/indices/delete_template.rb in elasticsearch-api-7.8.1 vs lib/elasticsearch/api/actions/indices/delete_template.rb in elasticsearch-api-7.9.0.pre
- old
+ new
@@ -24,11 +24,11 @@
# @option arguments [String] :name The name of the template
# @option arguments [Time] :timeout Explicit operation timeout
# @option arguments [Time] :master_timeout Specify timeout for connection to master
# @option arguments [Hash] :headers Custom HTTP headers
#
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.8/indices-templates.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.x/indices-templates.html
#
def delete_template(arguments = {})
raise ArgumentError, "Required argument 'name' missing" unless arguments[:name]
headers = arguments.delete(:headers) || {}
@@ -54,9 +54,9 @@
# @since 6.2.0
ParamsRegistry.register(:delete_template, [
:timeout,
:master_timeout
].freeze)
-end
end
+ end
end
end