summaryrefslogtreecommitdiff
path: root/lib/chef_zero/endpoints/actor_endpoint.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-09-02 15:50:36 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2016-09-02 15:50:36 -0700
commitc674dfeacf773579a2eb56cb3c02428268452b50 (patch)
tree38783d62679989b490865d591b066886b382190c /lib/chef_zero/endpoints/actor_endpoint.rb
parentb79ded7c789ae95fbc7d6f69b60ad945f27aaaa1 (diff)
downloadchef-zero-c674dfeacf773579a2eb56cb3c02428268452b50.tar.gz
remove create additions flag
FFI_Yajl has never implemented this flag Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef_zero/endpoints/actor_endpoint.rb')
-rw-r--r--lib/chef_zero/endpoints/actor_endpoint.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef_zero/endpoints/actor_endpoint.rb b/lib/chef_zero/endpoints/actor_endpoint.rb
index ea5284e..8d90c13 100644
--- a/lib/chef_zero/endpoints/actor_endpoint.rb
+++ b/lib/chef_zero/endpoints/actor_endpoint.rb
@@ -36,7 +36,7 @@ module ChefZero
def put(request)
# Find out if we're updating the public key.
- request_body = FFI_Yajl::Parser.parse(request.body, :create_additions => false)
+ request_body = FFI_Yajl::Parser.parse(request.body)
if request_body["public_key"].nil?
# If public_key is null, then don't overwrite it. Weird patchiness.