summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Doherty <cdoherty@chef.io>2015-11-02 10:23:04 -0800
committerChris Doherty <cdoherty@chef.io>2015-11-02 10:23:04 -0800
commited847212d8161a8ca3a938aaed1fd2b7d77dc4af (patch)
tree1e28e5abe2d7f80291a54d8dc3ba828a43abd80f
parent6aa55da014aeef1dd45cbcd9b09f828f8f69f2a5 (diff)
downloadchef-zero-ed847212d8161a8ca3a938aaed1fd2b7d77dc4af.tar.gz
Fix comments.
-rw-r--r--lib/chef_zero/endpoints/organization_policies_endpoint.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef_zero/endpoints/organization_policies_endpoint.rb b/lib/chef_zero/endpoints/organization_policies_endpoint.rb
index f4094f1..49bc7f7 100644
--- a/lib/chef_zero/endpoints/organization_policies_endpoint.rb
+++ b/lib/chef_zero/endpoints/organization_policies_endpoint.rb
@@ -56,7 +56,7 @@ module ChefZero
def post(request)
if request.rest_path.last == "revisions"
# POST /policies/:policy_name/revisions
- # want to create /policies/{policy_name}/revisions/{revision_id}
+ # we want to create /policies/{policy_name}/revisions/{revision_id}
policyfile_data = parse_json(request.body)
uri_policy_name = request.rest_path[-2]
@@ -75,7 +75,7 @@ module ChefZero
end
def delete(request)
- # /policy_groups/:policy_group/policies/:policy_name
+ # /policies/:policy_name/revisions/:revision_id
if request.rest_path[-2] == "policies"
revisions = list_data(request, request.rest_path + ["revisions"])
data = { revisions: hashify_list(revisions) }