Skip to content

Commit

Permalink
unintended logic
Browse files Browse the repository at this point in the history
Signed-off-by: Yuta Iwama <ganmacs@gmail.com>
  • Loading branch information
ganmacs committed Oct 30, 2019
1 parent 75a37eb commit 29fd4d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/plugin/test_in_monitor_agent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def test_configure
s = Fluent::Supervisor.new(opts.merge(config_path: filepath))
s.configure
ensure
FileUtils.rm_r(CONFIG_DIR) rescue StandardError
FileUtils.rm_r(CONFIG_DIR) rescue _
end

expected_opts = {
Expand Down Expand Up @@ -309,7 +309,7 @@ def get(uri, header = {})
@supervisor = Fluent::Supervisor.new(Fluent::Supervisor.default_options.merge(config_path: @filepath))
@supervisor.configure
ensure
FileUtils.rm_r(CONFIG_DIR) rescue StandardError
FileUtils.rm_r(CONFIG_DIR) rescue _
end
end

Expand Down

0 comments on commit 29fd4d7

Please sign in to comment.