fluent-plugin-input-opensearch 1.2.1 → 1.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 54b8f74f2ddc4993a1d2324bcd8fec593e3958df7bd7d943db6b824e5b905300
4
- data.tar.gz: ee5883d73b68960ccf5222aff8ac2d11d1a14d39a90c8c969f72931c8063316d
3
+ metadata.gz: 3e2f38e5f0ec3a94221d71a77ee5ae2fe73a15a2fce9e12ce5088cf6964ac501
4
+ data.tar.gz: 7fa98e31cb00081adb6aa4a495410e6ebee0df76fd96b5181b8d1c3c48adfb96
5
5
  SHA512:
6
- metadata.gz: 7f98160ecf531574253f0eb31ff13c17ac17e7c59a50e6af93158a4b4ef8220f7af37ce5d065ba894b520a3dd16b374cba0df9464c0472738329d1ee67c26e42
7
- data.tar.gz: 1bfed6d610e861f525ef3b0a36cde68e4bf6fb25c1e5c02c4bc96caaf8d300c2b59bafbf87ef3db7765079524b07e76e7e2c819ccb8da50a96069e02e5af987b
6
+ metadata.gz: '068a547a5e8bf505f038d6e3649ef37460efc6d63568e1c813465ae22790607fe1fdf3d2bb8e1f5176d8f9742142a58846f9925ffa9fea0966cfdbd6fa10992b'
7
+ data.tar.gz: 5bdf2ed9779e2bdac4c9f450c78c27e4a0a42b903978f264c89ac68c2a3d7f166a1be745eb90f4507aa55abbff9d6733686ede16918ef1457385d644b19c7caa
@@ -3,7 +3,7 @@ $:.push File.expand_path('../lib', __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = 'fluent-plugin-input-opensearch'
6
- s.version = '1.2.1'
6
+ s.version = '1.2.2'
7
7
  s.authors = ['imcotop']
8
8
  s.email = ['imcotop@icloud.com']
9
9
  s.description = %q{Opensearch output plugin for Fluent event collector}
@@ -366,7 +366,7 @@ module Fluent::Plugin
366
366
  run_slice(slice_id)
367
367
  end
368
368
  end
369
- rescue Faraday::ConnectionFailed, OpenSearch::Transport::Transport::Error => error
369
+ rescue => error
370
370
  update_retry_state(error)
371
371
  retry
372
372
  end
@@ -377,7 +377,7 @@ module Fluent::Plugin
377
377
  result = client.search(@options.merge(:body => Yajl.dump(slice_query) ))
378
378
  es = Fluent::MultiEventStream.new
379
379
 
380
- result["hits"]["hits"].each {|hit| process_events(hit, es)} unless result.nil?
380
+ result["hits"]["hits"].each {|hit| process_events(hit, es)}
381
381
  has_hits = result['hits']['hits'].any?
382
382
  scroll_id = result['_scroll_id']
383
383
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-input-opensearch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - imcotop