vendor: update psgo to v1.3.0

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
Giuseppe Scrivano
2019-05-23 14:44:34 +02:00
parent 6f02f3b2bc
commit da3021edd1
4 changed files with 164 additions and 10 deletions

View File

@ -45,7 +45,7 @@ type Process struct {
Hgroup string
}
// LookupGID returns the textual group ID, if it can be optained, or the
// LookupGID returns the textual group ID, if it can be obtained, or the
// decimal representation otherwise.
func LookupGID(gid string) (string, error) {
gidNum, err := strconv.Atoi(gid)
@ -59,7 +59,7 @@ func LookupGID(gid string) (string, error) {
return g.Name, nil
}
// LookupUID return the textual user ID, if it can be optained, or the decimal
// LookupUID return the textual user ID, if it can be obtained, or the decimal
// representation otherwise.
func LookupUID(uid string) (string, error) {
uidNum, err := strconv.Atoi(uid)