summaryrefslogtreecommitdiff
path: root/lib/chef/chef_fs/file_system/chef_server/acls_dir.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/chef_fs/file_system/chef_server/acls_dir.rb')
-rw-r--r--lib/chef/chef_fs/file_system/chef_server/acls_dir.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/chef_fs/file_system/chef_server/acls_dir.rb b/lib/chef/chef_fs/file_system/chef_server/acls_dir.rb
index 03b003586b..f24c6bc9f8 100644
--- a/lib/chef/chef_fs/file_system/chef_server/acls_dir.rb
+++ b/lib/chef/chef_fs/file_system/chef_server/acls_dir.rb
@@ -48,7 +48,7 @@ class Chef
def children
if @children.nil?
- @children = ENTITY_TYPES.map do |entity_type|
+ @children = ENTITY_TYPES.map { |entity_type|
# All three of these can be versioned (NAME-VERSION), but only have
# one ACL that covers them all (NAME.json).
case entity_type
@@ -59,7 +59,7 @@ class Chef
else
AclDir.new(entity_type, self)
end
- end
+ }
@children << AclEntry.new("organization.json", self, true) # the org acl is retrieved as GET /organizations/ORGNAME/ANYTHINGATALL/_acl
end
@children