Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Signed-off-by: Daijiro Fukuda <[email protected]>

Co-authored-by: Kentaro Hayashi <[email protected]>
  • Loading branch information
daipom and kenhys authored Jun 20, 2024
1 parent f553a41 commit 5ccbc48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/fluent/plugin/in_exec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class ExecInput < Fluent::Plugin::Input
config_param :run_interval, :time, default: nil
desc 'The default block size to read if parser requires partial read.'
config_param :read_block_size, :size, default: 10240 # 10k
desc 'The encoding to receive the result of the command, especially for none-ascii characters.'
desc 'The encoding to receive the result of the command, especially for non-ascii characters.'
config_param :encoding, :string, default: nil

attr_reader :parser
Expand Down
2 changes: 1 addition & 1 deletion test/plugin/test_in_exec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def create_driver(conf)
sub_test_case 'encoding' do
data(immediate: "")
data(run_interval: "run_interval 1")
test 'can handle none-ascii characters' do |additional_setting|
test 'can handle non-ascii characters' do |additional_setting|
content = 'ひらがな漢字'

d = create_driver %[
Expand Down

0 comments on commit 5ccbc48

Please sign in to comment.