lib/elasticsearch/xpack/api/actions/enrich/delete_policy.rb in elasticsearch-xpack-7.9.0 vs lib/elasticsearch/xpack/api/actions/enrich/delete_policy.rb in elasticsearch-xpack-7.10.0.pre
- old
+ new
@@ -23,10 +23,10 @@
# Deletes an existing enrich policy and its enrich index.
#
# @option arguments [String] :name The name of the enrich policy
# @option arguments [Hash] :headers Custom HTTP headers
#
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.9/delete-enrich-policy-api.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.10/delete-enrich-policy-api.html
#
def delete_policy(arguments = {})
raise ArgumentError, "Required argument 'name' missing" unless arguments[:name]
headers = arguments.delete(:headers) || {}