diff options
author | Vivek Singh <vivek.singh@msystechnologies.com> | 2020-09-08 14:56:09 +0530 |
---|---|---|
committer | Vivek Singh <vivek.singh@msystechnologies.com> | 2020-09-08 14:56:09 +0530 |
commit | 802bf4c9a91804798d88d8d767edff81422f8bc1 (patch) | |
tree | 64a1352f672e256644503e88980237e85dbda2cc | |
parent | d7e1913531b1138fd944ac56301e203d82f86c7f (diff) | |
download | chef-802bf4c9a91804798d88d8d767edff81422f8bc1.tar.gz |
Fix chefstyleVSingh/data-collector-output-locations
Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
-rw-r--r-- | lib/chef/data_collector.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/data_collector.rb b/lib/chef/data_collector.rb index 24daabc02f..5424461f76 100644 --- a/lib/chef/data_collector.rb +++ b/lib/chef/data_collector.rb @@ -211,8 +211,8 @@ class Chef # def send_to_output_locations(message) return unless Chef::Config[:data_collector][:output_locations] - Chef::DataCollector::ConfigValidation.validate_output_locations! + Chef::DataCollector::ConfigValidation.validate_output_locations! Chef::Config[:data_collector][:output_locations].each do |type, locations| Array(locations).each do |location| send_to_file_location(location, message) if type == :files |