summaryrefslogtreecommitdiff
path: root/lib/chef/file_access_control
diff options
context:
space:
mode:
authorsersut <serdar@opscode.com>2013-05-20 16:04:41 -0700
committersersut <serdar@opscode.com>2013-05-20 16:04:41 -0700
commit949715f2e10925ea79d5645078fcb3b4bfd225da (patch)
tree9adc18232a136120985c5ebbed511f06d895f2ac /lib/chef/file_access_control
parent669bb5913611ebe4838afee4c120d0006d289646 (diff)
downloadchef-949715f2e10925ea79d5645078fcb3b4bfd225da.tar.gz
Fix comments that include FIXME / TODO / XXX.
Diffstat (limited to 'lib/chef/file_access_control')
-rw-r--r--lib/chef/file_access_control/unix.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/file_access_control/unix.rb b/lib/chef/file_access_control/unix.rb
index db161e24e4..d8c51b4b3b 100644
--- a/lib/chef/file_access_control/unix.rb
+++ b/lib/chef/file_access_control/unix.rb
@@ -104,7 +104,7 @@ class Chef
gid_from_resource(current_resource)
end
- def gid_from_resource(resource) # XXX: masking instance variable
+ def gid_from_resource(resource)
return nil if resource == nil or resource.group.nil?
if resource.group.kind_of?(String)
diminished_radix_complement( Etc.getgrnam(resource.group).gid )
@@ -245,7 +245,7 @@ class Chef
end
end
- def uid_from_resource(resource) # XXX: masking instance variable
+ def uid_from_resource(resource)
return nil if resource == nil or resource.owner.nil?
if resource.owner.kind_of?(String)
diminished_radix_complement( Etc.getpwnam(resource.owner).uid )