diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-09-02 15:51:14 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-09-02 15:51:14 -0700 |
commit | c3a79237eb34266d948bb780b36f7865a9322544 (patch) | |
tree | c12db79358d00fe96002377b04b6bee5b2bf41f6 /lib/chef_zero/endpoints/group_endpoint.rb | |
parent | c674dfeacf773579a2eb56cb3c02428268452b50 (diff) | |
download | chef-zero-c3a79237eb34266d948bb780b36f7865a9322544.tar.gz |
Revert "remove create additions flag"
This reverts commit c674dfeacf773579a2eb56cb3c02428268452b50.
Diffstat (limited to 'lib/chef_zero/endpoints/group_endpoint.rb')
-rw-r--r-- | lib/chef_zero/endpoints/group_endpoint.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef_zero/endpoints/group_endpoint.rb b/lib/chef_zero/endpoints/group_endpoint.rb index 7855e98..fc21946 100644 --- a/lib/chef_zero/endpoints/group_endpoint.rb +++ b/lib/chef_zero/endpoints/group_endpoint.rb @@ -11,7 +11,7 @@ module ChefZero end def populate_defaults(request, response_json) - group = FFI_Yajl::Parser.parse(response_json) + group = FFI_Yajl::Parser.parse(response_json, :create_additions => false) group = ChefData::DataNormalizer.normalize_group(group, request.rest_path[3], request.rest_path[1]) FFI_Yajl::Encoder.encode(group, :pretty => true) end |