lib/elasticsearch/api/actions/snapshot/create.rb in elasticsearch-api-8.1.0 vs lib/elasticsearch/api/actions/snapshot/create.rb in elasticsearch-api-8.1.2

- old
+ new

@@ -32,14 +32,13 @@ # def create(arguments = {}) raise ArgumentError, "Required argument 'repository' missing" unless arguments[:repository] raise ArgumentError, "Required argument 'snapshot' missing" unless arguments[:snapshot] + arguments = arguments.clone headers = arguments.delete(:headers) || {} body = arguments.delete(:body) - - arguments = arguments.clone _repository = arguments.delete(:repository) _snapshot = arguments.delete(:snapshot)