summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2019-03-15 15:33:05 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2019-03-15 15:33:05 -0700
commitc301bf91f3702621b6fa881f0bfb3c04557158c5 (patch)
tree67ebe560267eb8b3ee7dd535eb2f7c377639d1f3 /lib
parent6af82d24e6122784b903d1ae9d1b3a8ac1c35e5b (diff)
downloadchef-c301bf91f3702621b6fa881f0bfb3c04557158c5.tar.gz
another chefspec fix
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/chef/client.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/client.rb b/lib/chef/client.rb
index 7c1316df3d..40266df64d 100644
--- a/lib/chef/client.rb
+++ b/lib/chef/client.rb
@@ -473,7 +473,7 @@ class Chef
#
# @api private
def setup_run_context
- run_context = policy_builder.setup_run_context(specific_recipes, run_context)
+ @run_context = policy_builder.setup_run_context(specific_recipes, run_context)
assert_cookbook_path_not_empty(run_context)
run_status.run_context = run_context # backcompat for chefspec
run_context