diff options
Diffstat (limited to 'lib/chef/data_collector.rb')
-rw-r--r-- | lib/chef/data_collector.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/data_collector.rb b/lib/chef/data_collector.rb index b976f9d058..aac864f485 100644 --- a/lib/chef/data_collector.rb +++ b/lib/chef/data_collector.rb @@ -174,6 +174,7 @@ class Chef # def send_to_data_collector(message) return unless Chef::Config[:data_collector][:server_url] + @http ||= setup_http_client(Chef::Config[:data_collector][:server_url]) @http.post(nil, message, headers) rescue Timeout::Error, Errno::EINVAL, Errno::ECONNRESET, |