lib/elasticsearch/api/actions/exists_source.rb in elasticsearch-api-8.1.0 vs lib/elasticsearch/api/actions/exists_source.rb in elasticsearch-api-8.1.2
- old
+ new
@@ -37,14 +37,13 @@
#
def exists_source(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)