Skip to content

Commit

Permalink
Update import.rb
Browse files Browse the repository at this point in the history
Fixes issue #1082
  • Loading branch information
beatjoerg authored and picandocodigo committed Jun 19, 2024
1 parent 92c8d16 commit 0b92c86
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
total_errors = klass.__elasticsearch__.import force: ENV.fetch('FORCE', false),
batch_size: ENV.fetch('BATCH', 1000).to_i,
index: ENV.fetch('INDEX', nil),
type: ENV.fetch('TYPE', nil),
scope: ENV.fetch('SCOPE', nil) do |response|
pbar.inc response['items'].size if pbar
STDERR.flush
Expand Down

0 comments on commit 0b92c86

Please sign in to comment.