Skip to content

Commit

Permalink
Move lib/fluent/plugin/file_wrapper.rb to lib/fluent
Browse files Browse the repository at this point in the history
It doesn't use the name space `Fluent::Plugin`, and seems useful for
global usage rather than only for plugin.

Signed-off-by: Takuro Ashie <[email protected]>
  • Loading branch information
ashie committed Sep 1, 2022
1 parent c328422 commit 531824a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion lib/fluent/plugin/in_tail.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
require 'fluent/plugin/in_tail/group_watch'

if Fluent.windows?
require_relative 'file_wrapper'
require 'fluent/file_wrapper'
else
Fluent::FileWrapper = File
end
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
require_relative '../helper'
require 'fluent/plugin/file_wrapper'
require_relative 'helper'
require 'fluent/file_wrapper'

class FileWrapperTest < Test::Unit::TestCase
TMP_DIR = File.dirname(__FILE__) + "/../tmp/file_wrapper#{ENV['TEST_ENV_NUMBER']}"
Expand Down

0 comments on commit 531824a

Please sign in to comment.