mirror of https://github.com/containers/podman.git
add comment
Signed-off-by: Matej Vasek <mvasek@redhat.com>
This commit is contained in:
parent
6ad2f1d248
commit
be7e9f63f2
|
@ -250,6 +250,8 @@ func statsToHeader(stats *copier.StatForItem) (string, error) {
|
||||||
return buff.String(), nil
|
return buff.String(), nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// the utility functions below are copied from abi/cp.go
|
||||||
|
|
||||||
func getUser(mountPoint string, userspec string) (specs.User, error) {
|
func getUser(mountPoint string, userspec string) (specs.User, error) {
|
||||||
uid, gid, _, err := chrootuser.GetUser(mountPoint, userspec)
|
uid, gid, _, err := chrootuser.GetUser(mountPoint, userspec)
|
||||||
u := specs.User{
|
u := specs.User{
|
||||||
|
|
Loading…
Reference in New Issue