summaryrefslogtreecommitdiff
path: root/lib/chef_zero/rest_base.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-09-02 15:51:14 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2016-09-02 15:51:14 -0700
commitc3a79237eb34266d948bb780b36f7865a9322544 (patch)
treec12db79358d00fe96002377b04b6bee5b2bf41f6 /lib/chef_zero/rest_base.rb
parentc674dfeacf773579a2eb56cb3c02428268452b50 (diff)
downloadchef-zero-c3a79237eb34266d948bb780b36f7865a9322544.tar.gz
Revert "remove create additions flag"
This reverts commit c674dfeacf773579a2eb56cb3c02428268452b50.
Diffstat (limited to 'lib/chef_zero/rest_base.rb')
-rw-r--r--lib/chef_zero/rest_base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef_zero/rest_base.rb b/lib/chef_zero/rest_base.rb
index 976fade..c2bc5ee 100644
--- a/lib/chef_zero/rest_base.rb
+++ b/lib/chef_zero/rest_base.rb
@@ -285,7 +285,7 @@ module ChefZero
end
def parse_json(json)
- FFI_Yajl::Parser.parse(json)
+ FFI_Yajl::Parser.parse(json, create_additions: false)
end
def to_json(data)