summaryrefslogtreecommitdiff
path: root/lib/chef/event_dispatch
diff options
context:
space:
mode:
authorRanjib Dey <dey.ranjib@gmail.com>2013-07-24 00:10:39 -0700
committerBryan McLellan <btm@opscode.com>2013-11-06 09:13:47 -0800
commitde0b38de4c74a354477d841a66c604f92e647450 (patch)
treef7675d48060d7a67df0bdf6b5b722c1689394332 /lib/chef/event_dispatch
parentb0bd056d854bc5f2de32c637c2a1821fbd2df777 (diff)
downloadchef-de0b38de4c74a354477d841a66c604f92e647450.tar.gz
pass elapsed time along with node/exception in event hanlders
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 82beefeec9..1e4deeb694 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, elapsed_time)
end
# Called at the end of a failed Chef run.
- def run_failed(exception)
+ def run_failed(exception, elapsed_time)
end
# Called right after ohai runs.