diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-11-08 12:37:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-08 12:37:49 +0100 |
commit | 92af260346676ce8dcf2be19d95bfed55124a3aa (patch) | |
tree | 2112a19ba95287179b0a44bbd90719a86d317c5d /pkg/spec/spec_test.go | |
parent | 3463a7194c504790e73a1750109c1813a7c3cfe9 (diff) | |
parent | dcf3c742b1ac4d641d66810113f3d17441a412f4 (diff) | |
download | podman-92af260346676ce8dcf2be19d95bfed55124a3aa.tar.gz podman-92af260346676ce8dcf2be19d95bfed55124a3aa.tar.bz2 podman-92af260346676ce8dcf2be19d95bfed55124a3aa.zip |
Merge pull request #4265 from haircommander/infra-namespaces-submit
Split up create config handling of namespaces and security
Diffstat (limited to 'pkg/spec/spec_test.go')
-rw-r--r-- | pkg/spec/spec_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/spec/spec_test.go b/pkg/spec/spec_test.go index 2f91e1b21..0f63b2bbc 100644 --- a/pkg/spec/spec_test.go +++ b/pkg/spec/spec_test.go @@ -21,9 +21,9 @@ var ( func makeTestCreateConfig() *CreateConfig { cc := new(CreateConfig) cc.Resources = CreateResourceConfig{} - cc.IDMappings = new(storage.IDMappingOptions) - cc.IDMappings.UIDMap = []idtools.IDMap{} - cc.IDMappings.GIDMap = []idtools.IDMap{} + cc.User.IDMappings = new(storage.IDMappingOptions) + cc.User.IDMappings.UIDMap = []idtools.IDMap{} + cc.User.IDMappings.GIDMap = []idtools.IDMap{} return cc } |