summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/chef/client.rb1
-rw-r--r--lib/chef/run_status.rb2
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/chef/client.rb b/lib/chef/client.rb
index 9b70082d4b..8fa8b01281 100644
--- a/lib/chef/client.rb
+++ b/lib/chef/client.rb
@@ -242,7 +242,6 @@ class Chef
def build_node
policy_builder.build_node
@run_status.node = node
- @run_status.events = events
node
end
diff --git a/lib/chef/run_status.rb b/lib/chef/run_status.rb
index d4ed1620ca..ce8ff296f4 100644
--- a/lib/chef/run_status.rb
+++ b/lib/chef/run_status.rb
@@ -23,7 +23,7 @@
# Chef run.
class Chef::RunStatus
- attr_accessor :events
+ attr_reader :events
attr_reader :run_context