diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-09-02 15:50:36 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-09-02 15:51:33 -0700 |
commit | 9f9ceec96a463099c7a724e6097a96a1171d9838 (patch) | |
tree | 38783d62679989b490865d591b066886b382190c /lib/chef_zero/endpoints/sandbox_endpoint.rb | |
parent | c3a79237eb34266d948bb780b36f7865a9322544 (diff) | |
download | chef-zero-9f9ceec96a463099c7a724e6097a96a1171d9838.tar.gz |
remove create additions flaglcg/remove-create-additions
FFI_Yajl has never implemented this flag
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef_zero/endpoints/sandbox_endpoint.rb')
-rw-r--r-- | lib/chef_zero/endpoints/sandbox_endpoint.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef_zero/endpoints/sandbox_endpoint.rb b/lib/chef_zero/endpoints/sandbox_endpoint.rb index b83a4ca..a35af2c 100644 --- a/lib/chef_zero/endpoints/sandbox_endpoint.rb +++ b/lib/chef_zero/endpoints/sandbox_endpoint.rb @@ -7,7 +7,7 @@ module ChefZero # /sandboxes/ID class SandboxEndpoint < RestBase def put(request) - existing_sandbox = FFI_Yajl::Parser.parse(get_data(request), :create_additions => false) + existing_sandbox = FFI_Yajl::Parser.parse(get_data(request)) existing_sandbox["checksums"].each do |checksum| if !exists_data?(request, request.rest_path[0..1] + ["file_store", "checksums", checksum]) raise RestErrorResponse.new(503, "Checksum not uploaded: #{checksum}") |