summaryrefslogtreecommitdiff
path: root/lib/chef/client.rb
diff options
context:
space:
mode:
authorSerdar Sutay <serdar@opscode.com>2015-05-22 12:27:09 -0700
committerSerdar Sutay <serdar@opscode.com>2015-05-29 08:41:40 -0700
commit3ed66239de9c65e1e6515332b187de6988725ec2 (patch)
tree4139ff8e0abe7e7775ab6e15bdcf4efda302d0c8 /lib/chef/client.rb
parent676342c040a2e282425648e6e833047c048fea7b (diff)
downloadchef-3ed66239de9c65e1e6515332b187de6988725ec2.tar.gz
Minor updates for PR comments.sd/CI-31
Diffstat (limited to 'lib/chef/client.rb')
-rw-r--r--lib/chef/client.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/client.rb b/lib/chef/client.rb
index 9f16efb31e..141827e65b 100644
--- a/lib/chef/client.rb
+++ b/lib/chef/client.rb
@@ -723,7 +723,7 @@ class Chef
auditor.run
if auditor.failed?
audit_exception = Chef::Exceptions::AuditsFailed.new(auditor.num_failed, auditor.num_total)
- events.audit_phase_failed(audit_exception)
+ @events.audit_phase_failed(audit_exception, Chef::Audit::Logger.read_buffer)
else
@events.audit_phase_complete(Chef::Audit::Logger.read_buffer)
end