diff options
-rw-r--r-- | lib/chef_zero/endpoints/actor_endpoint.rb | 2 | ||||
-rw-r--r-- | lib/chef_zero/endpoints/organization_endpoint.rb | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/lib/chef_zero/endpoints/actor_endpoint.rb b/lib/chef_zero/endpoints/actor_endpoint.rb index a34ad14..1572ac1 100644 --- a/lib/chef_zero/endpoints/actor_endpoint.rb +++ b/lib/chef_zero/endpoints/actor_endpoint.rb @@ -66,8 +66,6 @@ module ChefZero response = FFI_Yajl::Parser.parse(result[2], :create_additions => false) end - # TODO some oc_erchef follow-up here. I still don't see that we're returning this - # as a flag in absence of an actual private key. if request.rest_path[2] == 'clients' response['private_key'] = private_key ? private_key : false else diff --git a/lib/chef_zero/endpoints/organization_endpoint.rb b/lib/chef_zero/endpoints/organization_endpoint.rb index fbc6610..585c46a 100644 --- a/lib/chef_zero/endpoints/organization_endpoint.rb +++ b/lib/chef_zero/endpoints/organization_endpoint.rb @@ -22,7 +22,6 @@ module ChefZero return error(400, "Cannot rename org #{request.rest_path[-1]} to #{new_org['name']}: rename not supported for orgs") end set_data(request, request.rest_path + [ 'org' ], save_org) - pp org json_response(200, { "uri" => "#{build_uri(request.base_uri, request.rest_path)}", "name" => org['name'], |