fluent-plugin-forest 0.3.2 → 0.3.3

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
  SHA1:
3
- metadata.gz: cb9a44f8ce959ffd5909bbeb3c82582b7a179b21
4
- data.tar.gz: 4963053b5c23586b2d635c0494e57b32d08c32c9
3
+ metadata.gz: 9d812e7f9c4a4cfc21a74375b20f794ac00249db
4
+ data.tar.gz: 53f42f5830c1d0a077a2028474fe4e523ed985f9
5
5
  SHA512:
6
- metadata.gz: 38e8599216a9f67ead49fe87e12d9bd304dc4d42bafc9bb6e3213ce24cdf95dbb6d58b364aaaf5b2c3a6668f00f1325562a2311c6c3a02f3d5959954da75adbd
7
- data.tar.gz: 0aecbb204bbf364f0d1076fc32c95cfa02ad115d33562f009225d5660c10bdabac486df187e73493a6b113883d0a79e0db8fa9b120820a357211b4d696fbecfa
6
+ metadata.gz: 4387b8ba78eca911e6c873321b55848fdd7cbcedf854f505114bf82c919d6ca6decfea57a7c0acd3c65ac702c3c4fe1f43951fbaf21889ac5a7956454f7ebec5
7
+ data.tar.gz: ea77723d57c15c59aa8a4075206b3d8bf1f3ce52847d2136a476c28e99a7853e2079394ae54d0bb1ad2b7e96d8a6c2834d7a86bb980dd7926417a8ba7242088b
@@ -1,7 +1,7 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  Gem::Specification.new do |gem|
3
3
  gem.name = "fluent-plugin-forest"
4
- gem.version = "0.3.2"
4
+ gem.version = "0.3.3"
5
5
  gem.authors = ["TAGOMORI Satoshi"]
6
6
  gem.email = ["tagomoris@gmail.com"]
7
7
  gem.description = %q{create sub-plugin dynamically per tags, with template configuration and parameters}
@@ -168,11 +168,15 @@ class Fluent::ForestOutput < Fluent::MultiOutput
168
168
  unless output
169
169
  output = plant(tag)
170
170
  end
171
- if output.respond_to?(:emit_events)
172
- output.emit_events(tag, es)
173
- else
174
- output.emit(tag, es, chain)
171
+ if output
172
+ if output.respond_to?(:emit_events)
173
+ output.emit_events(tag, es)
174
+ else
175
+ output.emit(tag, es, chain)
176
+ end
177
+ chain.next
178
+ else # cannot plant an output (configuration error, or ...?)
179
+ chain.next
175
180
  end
176
- chain.next
177
181
  end
178
182
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-forest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - TAGOMORI Satoshi