Skip to content

Commit ade5d30

Browse files
committed
Version 0.0.11
Backports the fix from #67
1 parent 6c8ca10 commit ade5d30

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ if you are using fluentd v0.14 for the latest and greatest features
2626

2727
Simply use RubyGems:
2828

29-
gem install fluent-plugin-systemd -v 0.0.9
29+
gem install fluent-plugin-systemd -v 0.0.11
3030

3131
or
3232

33-
td-agent-gem install fluent-plugin-systemd -v 0.0.9
33+
td-agent-gem install fluent-plugin-systemd -v 0.0.11
3434

3535
## Configuration
3636

fluent-plugin-systemd.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
33

44
Gem::Specification.new do |spec|
55
spec.name = "fluent-plugin-systemd"
6-
spec.version = "0.0.10"
6+
spec.version = "0.0.11"
77
spec.authors = ["Ed Robinson"]
88
spec.email = ["[email protected]"]
99

@@ -22,5 +22,5 @@ Gem::Specification.new do |spec|
2222
spec.add_development_dependency "test-unit", "~> 2.5"
2323

2424
spec.add_runtime_dependency "fluentd", "~> 0.12"
25-
spec.add_runtime_dependency "systemd-journal", "~> 1.3"
25+
spec.add_runtime_dependency "systemd-journal", "~> 1.3.2"
2626
end

lib/fluent/plugin/in_systemd.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ def shutdown
3737
def init_journal
3838
@journal.close if @journal
3939
@journal = Systemd::Journal.new(path: @path)
40-
# make sure initial call to wait doesn't return :invalidate
41-
# see https://github.com/ledbettj/systemd-journal/issues/70
42-
@journal.wait(0)
4340
@journal.filter(*@filters)
4441
seek
4542
end

0 commit comments

Comments
 (0)