fluent-plugin-ping-message 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  Gem::Specification.new do |gem|
3
3
  gem.name = "fluent-plugin-ping-message"
4
- gem.version = "0.0.4"
4
+ gem.version = "0.0.5"
5
5
  gem.authors = ["TAGOMORI Satoshi"]
6
6
  gem.email = ["tagomoris@gmail.com"]
7
7
  gem.description = %q{for heartbeat monitoring of Fluentd processes}
@@ -78,7 +78,7 @@ class Fluent::PingMessageCheckerOutput < Fluent::Output
78
78
 
79
79
  if @notifications
80
80
  notifications.each do |data|
81
- Fluent::Engine.emit(@tag, Fluent::Engine.now, data)
81
+ Fluent::Engine.emit(@tag, Fluent::Engine.now, {@data_field => data})
82
82
  end
83
83
  end
84
84
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-ping-message
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: