summaryrefslogtreecommitdiff
path: root/lib/chef/client.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/client.rb')
-rw-r--r--lib/chef/client.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/chef/client.rb b/lib/chef/client.rb
index efe6409fcd..7f184d7db4 100644
--- a/lib/chef/client.rb
+++ b/lib/chef/client.rb
@@ -241,8 +241,7 @@ class Chef
run_status.run_id = request_id = Chef::RequestID.instance.request_id
- @run_context = Chef::RunContext.new
- run_context.events = events
+ @run_context = Chef::RunContext.new(nil, nil, events)
run_status.run_context = run_context
events.run_start(Chef::VERSION, run_status)