summaryrefslogtreecommitdiff
path: root/lib/chef/client.rb
diff options
context:
space:
mode:
authorIgor Shpakov <igorshp@gmail.com>2015-04-11 16:43:04 +0100
committerIgor Shpakov <igorshp@gmail.com>2015-04-11 16:43:04 +0100
commit25dba2da5c910c15a7965add9be48257a0ef838a (patch)
treec97d0e14e9093dee09b56066f5e39ee36b87a82e /lib/chef/client.rb
parent874b785abc912e852b401e8c0f0e687394a6f3b8 (diff)
downloadchef-25dba2da5c910c15a7965add9be48257a0ef838a.tar.gz
do not overwrite whole @run_status in #build_node
Diffstat (limited to 'lib/chef/client.rb')
-rw-r--r--lib/chef/client.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/client.rb b/lib/chef/client.rb
index f172bb1a97..9b70082d4b 100644
--- a/lib/chef/client.rb
+++ b/lib/chef/client.rb
@@ -241,7 +241,8 @@ class Chef
# Chef::Node:: The updated node object
def build_node
policy_builder.build_node
- @run_status = Chef::RunStatus.new(node, events)
+ @run_status.node = node
+ @run_status.events = events
node
end