summaryrefslogtreecommitdiff
path: root/libpod/container_internal_linux_test.go
diff options
context:
space:
mode:
authorlouis <louis@localhost.localdomain>2020-07-20 16:34:59 -0400
committerldelossa <ldelossa@redhat.com>2020-07-23 10:18:14 -0400
commit10c4ab11497dd78351674ec7774be65dddea463d (patch)
tree63bcc4c2137ce586862e70b05c516ba535987e6d /libpod/container_internal_linux_test.go
parent1aac197f79e91b06ec7e948bd73bb2464e8a508f (diff)
downloadpodman-10c4ab11497dd78351674ec7774be65dddea463d.tar.gz
podman-10c4ab11497dd78351674ec7774be65dddea463d.tar.bz2
podman-10c4ab11497dd78351674ec7774be65dddea463d.zip
Refactor container config
This commit handle the TODO task of breaking the Container config into smaller sub-configs Signed-off-by: ldelossa <ldelossa@redhat.com>
Diffstat (limited to 'libpod/container_internal_linux_test.go')
-rw-r--r--libpod/container_internal_linux_test.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/libpod/container_internal_linux_test.go b/libpod/container_internal_linux_test.go
index 078cc53a7..41c22fb45 100644
--- a/libpod/container_internal_linux_test.go
+++ b/libpod/container_internal_linux_test.go
@@ -20,8 +20,10 @@ func TestGenerateUserPasswdEntry(t *testing.T) {
c := Container{
config: &ContainerConfig{
- User: "123:456",
Spec: &spec.Spec{},
+ ContainerSecurityConfig: ContainerSecurityConfig{
+ User: "123:456",
+ },
},
state: &ContainerState{
Mountpoint: "/does/not/exist/tmp/",