diff options
author | Thom May <thom@may.lt> | 2016-09-06 15:35:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-06 15:35:37 +0100 |
commit | 92e1e6eae3d8d842cf1eede56124ebd3ba9945c9 (patch) | |
tree | 38783d62679989b490865d591b066886b382190c /lib/chef_zero/endpoints/environment_nodes_endpoint.rb | |
parent | c3a79237eb34266d948bb780b36f7865a9322544 (diff) | |
parent | 9f9ceec96a463099c7a724e6097a96a1171d9838 (diff) | |
download | chef-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_nodes_endpoint.rb')
-rw-r--r-- | lib/chef_zero/endpoints/environment_nodes_endpoint.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef_zero/endpoints/environment_nodes_endpoint.rb b/lib/chef_zero/endpoints/environment_nodes_endpoint.rb index cffe596..55e1877 100644 --- a/lib/chef_zero/endpoints/environment_nodes_endpoint.rb +++ b/lib/chef_zero/endpoints/environment_nodes_endpoint.rb @@ -11,7 +11,7 @@ module ChefZero result = {} list_data(request, request.rest_path[0..1] + ["nodes"]).each do |name| - node = FFI_Yajl::Parser.parse(get_data(request, request.rest_path[0..1] + ["nodes", name]), :create_additions => false) + node = FFI_Yajl::Parser.parse(get_data(request, request.rest_path[0..1] + ["nodes", name])) if node["chef_environment"] == request.rest_path[3] result[name] = build_uri(request.base_uri, request.rest_path[0..1] + ["nodes", name]) end |