Skip to content

Commit b1e7152

Browse files
authored
Merge pull request #3 from Watson1978/open-uri
Use URI.open intead of Kernel#open
2 parents 36d1b68 + 3edce85 commit b1e7152

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/fluent/plugin/filter_obsolete_plugins.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class ObsoletePluginsFilter < Fluent::Plugin::Filter
3232
def configure(conf)
3333
super
3434

35-
@obsolete_plugins = open(@obsolete_plugins_yml) do |io|
35+
@obsolete_plugins = URI.open(@obsolete_plugins_yml) do |io|
3636
YAML.safe_load(io.read)
3737
end
3838

0 commit comments

Comments
 (0)