summaryrefslogtreecommitdiff
path: root/pkg/spec/spec_test.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-11-08 12:37:49 +0100
committerGitHub <noreply@github.com>2019-11-08 12:37:49 +0100
commit92af260346676ce8dcf2be19d95bfed55124a3aa (patch)
tree2112a19ba95287179b0a44bbd90719a86d317c5d /pkg/spec/spec_test.go
parent3463a7194c504790e73a1750109c1813a7c3cfe9 (diff)
parentdcf3c742b1ac4d641d66810113f3d17441a412f4 (diff)
downloadpodman-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.go6
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
}