lib/fluent/plugin/in_systemd.rb in fluent-plugin-systemd-0.0.10 vs lib/fluent/plugin/in_systemd.rb in fluent-plugin-systemd-0.0.11

- old
+ new

@@ -33,14 +33,11 @@ end private def init_journal - @journal.close if @journal # rubocop:disable Style/SafeNavigation + @journal.close if @journal @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(*@filters) seek end def seek