diff options
author | Matej Vasek <mvasek@redhat.com> | 2020-11-19 00:52:27 +0100 |
---|---|---|
committer | Matej Vasek <mvasek@redhat.com> | 2020-11-19 20:31:47 +0100 |
commit | be7e9f63f241c826e3a5772da355a3d66d254c6c (patch) | |
tree | ab0db7cf337e32b6006a9d47355cfd9ffe8efc26 /pkg/api | |
parent | 6ad2f1d2482ff156257c74a2b4bcd75d5b12d95d (diff) | |
download | podman-be7e9f63f241c826e3a5772da355a3d66d254c6c.tar.gz podman-be7e9f63f241c826e3a5772da355a3d66d254c6c.tar.bz2 podman-be7e9f63f241c826e3a5772da355a3d66d254c6c.zip |
add comment
Signed-off-by: Matej Vasek <mvasek@redhat.com>
Diffstat (limited to 'pkg/api')
-rw-r--r-- | pkg/api/handlers/compat/containers_archive.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/api/handlers/compat/containers_archive.go b/pkg/api/handlers/compat/containers_archive.go index 337b1787c..10f755a59 100644 --- a/pkg/api/handlers/compat/containers_archive.go +++ b/pkg/api/handlers/compat/containers_archive.go @@ -250,6 +250,8 @@ func statsToHeader(stats *copier.StatForItem) (string, error) { return buff.String(), nil } +// the utility functions below are copied from abi/cp.go + func getUser(mountPoint string, userspec string) (specs.User, error) { uid, gid, _, err := chrootuser.GetUser(mountPoint, userspec) u := specs.User{ |