summaryrefslogtreecommitdiff
path: root/libpod/options.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-10-26 07:58:25 +0000
committerGitHub <noreply@github.com>2021-10-26 07:58:25 +0000
commitf82f93c9bdaca49765019966df43384d34469575 (patch)
tree6b3907947aa49553ace7642034632b0ad8206157 /libpod/options.go
parentdbe770e3ce2ac2e34ffa8e28b80df57eb0182a68 (diff)
parenta42c131c80fc8c7220687c56cf4384a224572ca0 (diff)
downloadpodman-f82f93c9bdaca49765019966df43384d34469575.tar.gz
podman-f82f93c9bdaca49765019966df43384d34469575.tar.bz2
podman-f82f93c9bdaca49765019966df43384d34469575.zip
Merge pull request #12084 from rhatdan/VENDOR
Update vendor github.com/opencontainers/runtime-tools
Diffstat (limited to 'libpod/options.go')
-rw-r--r--libpod/options.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/options.go b/libpod/options.go
index 9762de67e..135b2f363 100644
--- a/libpod/options.go
+++ b/libpod/options.go
@@ -969,7 +969,7 @@ func WithUserNSFrom(nsCtr *Container) CtrCreateOption {
if err := JSONDeepCopy(nsCtr.IDMappings(), &ctr.config.IDMappings); err != nil {
return err
}
- g := generate.Generator{Config: ctr.config.Spec}
+ g := generate.NewFromSpec(ctr.config.Spec)
g.ClearLinuxUIDMappings()
for _, uidmap := range nsCtr.config.IDMappings.UIDMap {