summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVivek Singh <vivek.singh@msystechnologies.com>2020-09-08 14:56:09 +0530
committerVivek Singh <vivek.singh@msystechnologies.com>2020-09-08 14:56:09 +0530
commit802bf4c9a91804798d88d8d767edff81422f8bc1 (patch)
tree64a1352f672e256644503e88980237e85dbda2cc
parentd7e1913531b1138fd944ac56301e203d82f86c7f (diff)
downloadchef-802bf4c9a91804798d88d8d767edff81422f8bc1.tar.gz
Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
-rw-r--r--lib/chef/data_collector.rb2
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