summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Paradise <marc@getchef.com>2015-03-04 02:52:53 -0500
committertyler-ball <tyleraball@gmail.com>2015-07-10 10:24:39 -0700
commitad69f428b7ccf0728ecec4f5458f427503b987ce (patch)
tree64032088fb4f0ae9d1564bd00b9add299d0ac711
parentfd95d9e31ebb7d042e171fba446de9ed150c1e91 (diff)
downloadchef-zero-ad69f428b7ccf0728ecec4f5458f427503b987ce.tar.gz
cleanup a TODO left behind and clean up some debug code
-rw-r--r--lib/chef_zero/endpoints/actor_endpoint.rb2
-rw-r--r--lib/chef_zero/endpoints/organization_endpoint.rb1
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'],