summaryrefslogtreecommitdiff
path: root/lib/chef_zero/endpoints/environment_role_endpoint.rb
diff options
context:
space:
mode:
authorThom May <thom@may.lt>2016-09-06 15:35:37 +0100
committerGitHub <noreply@github.com>2016-09-06 15:35:37 +0100
commit92e1e6eae3d8d842cf1eede56124ebd3ba9945c9 (patch)
tree38783d62679989b490865d591b066886b382190c /lib/chef_zero/endpoints/environment_role_endpoint.rb
parentc3a79237eb34266d948bb780b36f7865a9322544 (diff)
parent9f9ceec96a463099c7a724e6097a96a1171d9838 (diff)
downloadchef-zero-92e1e6eae3d8d842cf1eede56124ebd3ba9945c9.tar.gz
Merge pull request #242 from chef/lcg/remove-create-additions
Remove create additions flag
Diffstat (limited to 'lib/chef_zero/endpoints/environment_role_endpoint.rb')
-rw-r--r--lib/chef_zero/endpoints/environment_role_endpoint.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef_zero/endpoints/environment_role_endpoint.rb b/lib/chef_zero/endpoints/environment_role_endpoint.rb
index b05f28a..9d3ce3e 100644
--- a/lib/chef_zero/endpoints/environment_role_endpoint.rb
+++ b/lib/chef_zero/endpoints/environment_role_endpoint.rb
@@ -18,7 +18,7 @@ module ChefZero
# Verify that the environment exists
get_data(request, environment_path)
- role = FFI_Yajl::Parser.parse(get_data(request, role_path), :create_additions => false)
+ role = FFI_Yajl::Parser.parse(get_data(request, role_path))
environment_name = environment_path[3]
if environment_name == "_default"
run_list = role["run_list"]