summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2019-03-15 12:55:10 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2019-03-15 12:55:10 -0700
commit6af82d24e6122784b903d1ae9d1b3a8ac1c35e5b (patch)
tree43693789fff3329e845fa0fa13f0594388e91456
parent06b1d8ad5edee305fb7e5288aed39b6f74616b5c (diff)
downloadchef-6af82d24e6122784b903d1ae9d1b3a8ac1c35e5b.tar.gz
fix for chefspec
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-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 103a516111..7c1316df3d 100644
--- a/lib/chef/client.rb
+++ b/lib/chef/client.rb
@@ -473,7 +473,7 @@ class Chef
#
# @api private
def setup_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