Skip to content

Commit

Permalink
Merge pull request #290 from riemann/fix-legacy-ruby
Browse files Browse the repository at this point in the history
Fix `riemann-wrapper` with older Ruby
  • Loading branch information
jamtur01 authored May 30, 2024
2 parents a47f0fd + e5ea5f4 commit faf49d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/riemann-wrapper
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ if ARGV.size == 1
end

require 'yaml'
config = YAML.safe_load_file(ARGV[0])
config = YAML.safe_load(File.read(ARGV[0]))

arguments = split_options(config['options'])
config['tools'].each do |tool|
Expand Down

0 comments on commit faf49d1

Please sign in to comment.