diff options
Diffstat (limited to 'lib/chef/client.rb')
-rw-r--r-- | lib/chef/client.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/client.rb b/lib/chef/client.rb index da9c6f1b77..30b714cded 100644 --- a/lib/chef/client.rb +++ b/lib/chef/client.rb @@ -504,7 +504,7 @@ class Chef run_status.stop_clock Chef::Log.info("Chef Run complete in #{run_status.elapsed_time} seconds") run_completed_successfully - @events.run_completed(node, run_status.elapsed_time) + @events.run_completed(node) true rescue Exception => e # CHEF-3336: Send the error first in case something goes wrong below and we don't know why @@ -516,7 +516,7 @@ class Chef run_failed end Chef::Application.debug_stacktrace(e) - @events.run_failed(e, run_status.elapsed_time) + @events.run_failed(e) raise ensure @run_status = nil |