diff options
author | Noah Kantrowitz <noah@coderanger.net> | 2017-11-07 14:42:48 -0800 |
---|---|---|
committer | Noah Kantrowitz <noah@coderanger.net> | 2017-11-27 10:26:40 -0500 |
commit | 06ac75e6068501ed262035382bc3e1ae0ca45063 (patch) | |
tree | a808aade13e71e6768194b1aa4b8bcbedd5a2d7e /lib/chef/event_dispatch/base.rb | |
parent | 437594e25b1bdcd5c5b0af3b2dbfcf7dac6749b8 (diff) | |
download | chef-06ac75e6068501ed262035382bc3e1ae0ca45063.tar.gz |
Makes life easier for hook authors switching from the older report handler syntax.
Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
Diffstat (limited to 'lib/chef/event_dispatch/base.rb')
-rw-r--r-- | lib/chef/event_dispatch/base.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/event_dispatch/base.rb b/lib/chef/event_dispatch/base.rb index 0f8013f114..0886d63152 100644 --- a/lib/chef/event_dispatch/base.rb +++ b/lib/chef/event_dispatch/base.rb @@ -36,11 +36,11 @@ class Chef end # Called at the end a successful Chef run. - def run_completed(node) + def run_completed(node, run_status) end # Called at the end of a failed Chef run. - def run_failed(exception) + def run_failed(exception, run_status) end # Called right after ohai runs. |