summaryrefslogtreecommitdiff
path: root/lib/chef/event_dispatch
diff options
context:
space:
mode:
authorSerdar Sutay <serdar@opscode.com>2015-05-21 14:03:31 -0700
committerSerdar Sutay <serdar@opscode.com>2015-05-29 08:41:12 -0700
commit3e1cbd6856eda733a1ed800184d8545e5d070e8e (patch)
treeae3acb56976aaee7963ba20851a9684702d23370 /lib/chef/event_dispatch
parentc58162b9ce165bde444ff396a95668666884c052 (diff)
downloadchef-3e1cbd6856eda733a1ed800184d8545e5d070e8e.tar.gz
Make sure the audit mode output is reflected both in the logs and in the formatter output.
Diffstat (limited to 'lib/chef/event_dispatch')
-rw-r--r--lib/chef/event_dispatch/base.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/event_dispatch/base.rb b/lib/chef/event_dispatch/base.rb
index 93caa62a65..73fe25ec13 100644
--- a/lib/chef/event_dispatch/base.rb
+++ b/lib/chef/event_dispatch/base.rb
@@ -244,13 +244,13 @@ class Chef
end
# Called when audit phase successfully finishes
- def audit_phase_complete
+ def audit_phase_complete(audit_output)
end
# Called if there is an uncaught exception during the audit phase. The audit runner should
# be catching and handling errors from the examples, so this is only uncaught errors (like
# bugs in our handling code)
- def audit_phase_failed(exception)
+ def audit_phase_failed(exception, audit_output)
end
# Signifies the start of a `control_group` block with a defined name