Skip to content

Commit 13bd916

Browse files
committed
Fix typo
1 parent 307cb40 commit 13bd916

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/fluent/plugin/filter_obsolete_plugins.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def configure(conf)
4646
rescue Fluent::ConfigError
4747
raise
4848
rescue => e
49-
log.info("Failed to notfify obsolete plugins", error: e)
49+
log.info("Failed to notify obsolete plugins", error: e)
5050
end
5151

5252
def filter(tag, time, record)

test/plugin/test_filter_obsolete_plugins.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ class ObsoletePluginsFilterTest < Test::Unit::TestCase
120120
d = create_driver("plugins_json #{fixture_path('invalid.json')}")
121121

122122
expected_logs = [
123-
"#{@time} [info]: Failed to notfify obsolete plugins error_class=JSON::ParserError error=\"expected ',' or '}' after object value, got: EOF at line 11 column 1\"\n",
123+
"#{@time} [info]: Failed to notify obsolete plugins error_class=JSON::ParserError error=\"expected ',' or '}' after object value, got: EOF at line 11 column 1\"\n",
124124
]
125125

126126
assert_equal(expected_logs, d.logs)
@@ -139,7 +139,7 @@ class ObsoletePluginsFilterTest < Test::Unit::TestCase
139139
sleep 2
140140

141141
expected_logs = [
142-
"#{@time} [info]: Failed to notfify obsolete plugins error_class=Timeout::Error error=\"execution expired\"\n",
142+
"#{@time} [info]: Failed to notify obsolete plugins error_class=Timeout::Error error=\"execution expired\"\n",
143143
]
144144

145145
assert_equal(expected_logs, d.logs)

0 commit comments

Comments
 (0)