summaryrefslogtreecommitdiff
path: root/pkg/chrootuser/user.go
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@redhat.com>2018-04-02 15:10:23 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2018-04-02 20:03:17 +0000
commit94301bab8f82b6bb7c70d9dde8b85ccd0ce3a0b1 (patch)
tree0e6bfdd26b3448a79e9ea2c3d9653869f59f6cd7 /pkg/chrootuser/user.go
parent2eb38a02715981dfff8124978351d22569b68515 (diff)
downloadpodman-94301bab8f82b6bb7c70d9dde8b85ccd0ce3a0b1.tar.gz
podman-94301bab8f82b6bb7c70d9dde8b85ccd0ce3a0b1.tar.bz2
podman-94301bab8f82b6bb7c70d9dde8b85ccd0ce3a0b1.zip
Correct a godoc comment
Correct the names of the files in the godoc for pkg/chrootuser/GetUser(). Signed-off-by: Nalin Dahyabhai <nalin@redhat.com> Closes: #579 Approved by: rhatdan
Diffstat (limited to 'pkg/chrootuser/user.go')
-rw-r--r--pkg/chrootuser/user.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/chrootuser/user.go b/pkg/chrootuser/user.go
index a024877a5..9be386ef9 100644
--- a/pkg/chrootuser/user.go
+++ b/pkg/chrootuser/user.go
@@ -9,7 +9,7 @@ import (
)
// GetUser will return the uid, gid of the user specified in the userspec
-// it will use the /etc/password and /etc/shadow files inside of the rootdir
+// it will use the /etc/passwd and /etc/group files inside of the rootdir
// to return this information.
// userspace format [user | user:group | uid | uid:gid | user:gid | uid:group ]
func GetUser(rootdir, userspec string) (uint32, uint32, error) {