lib/elasticsearch/api/actions/indices/delete.rb in elasticsearch-api-7.12.0 vs lib/elasticsearch/api/actions/indices/delete.rb in elasticsearch-api-7.13.0.pre
- old
+ new
@@ -27,10 +27,10 @@
# @option arguments [Boolean] :ignore_unavailable Ignore unavailable indexes (default: false)
# @option arguments [Boolean] :allow_no_indices Ignore if a wildcard expression resolves to no concrete indices (default: false)
# @option arguments [String] :expand_wildcards Whether wildcard expressions should get expanded to open or closed indices (default: open) (options: open, closed, hidden, none, all)
# @option arguments [Hash] :headers Custom HTTP headers
#
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.12/indices-delete-index.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.x/indices-delete-index.html
#
def delete(arguments = {})
raise ArgumentError, "Required argument 'index' missing" unless arguments[:index]
headers = arguments.delete(:headers) || {}