Skip to content

Commit 8d1cbf1

Browse files
committed
[STORE] Index name option is handled by super, no need to pass options expicitly
1 parent fb84196 commit 8d1cbf1

File tree

1 file changed

+1
-3
lines changed
  • elasticsearch-persistence/lib/elasticsearch/persistence

1 file changed

+1
-3
lines changed

elasticsearch-persistence/lib/elasticsearch/persistence/repository.rb

+1-3
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,7 @@ def settings(*args)
211211
#
212212
# @since 6.0.0
213213
def index_exists?(*args)
214-
params = { index_name: index_name }
215-
params.merge!(args.first) unless args.empty?
216-
super(params)
214+
super
217215
end
218216

219217
# Get the nicer formatted string for use in inspection.

0 commit comments

Comments
 (0)