Skip to content

Commit

Permalink
Merge pull request #67 from reevoo/fd-fixess
Browse files Browse the repository at this point in the history
Require version of systemd-journal with fd fix
  • Loading branch information
errm authored Jun 12, 2018
2 parents 48c8066 + a2116a4 commit c99be99
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion fluent-plugin-systemd.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'rubocop', '~> 0.53.0'

spec.add_runtime_dependency 'fluentd', ['>= 0.14.11', '< 2']
spec.add_runtime_dependency 'systemd-journal', '~> 1.3'
spec.add_runtime_dependency 'systemd-journal', '~> 1.3.2'
end
3 changes: 0 additions & 3 deletions lib/fluent/plugin/in_systemd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,6 @@ def init_journal
# TODO: ruby 2.3
@journal.close if @journal # rubocop:disable Style/SafeNavigation
@journal = Systemd::Journal.new(path: @path)
# make sure initial call to wait doesn't return :invalidate
# see https://github.com/ledbettj/systemd-journal/issues/70
@journal.wait(0)
@journal.filter(*(@matches || @filters))
seek
true
Expand Down

0 comments on commit c99be99

Please sign in to comment.