summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Shpakov <igorshp@gmail.com>2015-04-13 23:57:53 +0100
committerIgor Shpakov <igorshp@gmail.com>2015-04-13 23:57:53 +0100
commit95f006606ae73551621a57987f2336145f6dc50f (patch)
tree06058bc654e6721fbcd24dcba62c8efa9a49f251
parent25dba2da5c910c15a7965add9be48257a0ef838a (diff)
downloadchef-95f006606ae73551621a57987f2336145f6dc50f.tar.gz
updated based on @lamont-granquist comments
-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