lookupGroupId: add implementation for go1.6
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
68651d77d6
commit
bbedbb3eaa
4 changed files with 113 additions and 2 deletions
|
@ -40,7 +40,7 @@ var (
|
|||
}
|
||||
|
||||
stat := info.Sys().(*syscall.Stat_t)
|
||||
g, err := user.LookupGroupId(fmt.Sprintf("%d", stat.Gid))
|
||||
g, err := lookupGroupID(fmt.Sprintf("%d", stat.Gid))
|
||||
if err != nil {
|
||||
return emptyKV, err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue