lib/elasticsearch/api/actions/exists.rb in elasticsearch-api-8.0.0 vs lib/elasticsearch/api/actions/exists.rb in elasticsearch-api-8.0.1
- old
+ new
@@ -38,14 +38,13 @@
#
def exists(arguments = {})
raise ArgumentError, "Required argument 'index' missing" unless arguments[:index]
raise ArgumentError, "Required argument 'id' missing" unless arguments[:id]
+ arguments = arguments.clone
headers = arguments.delete(:headers) || {}
body = nil
-
- arguments = arguments.clone
_id = arguments.delete(:id)
_index = arguments.delete(:index)