summaryrefslogtreecommitdiffhomepage
path: root/runsc/container/container_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'runsc/container/container_test.go')
-rw-r--r--runsc/container/container_test.go12
1 files changed, 5 insertions, 7 deletions
diff --git a/runsc/container/container_test.go b/runsc/container/container_test.go
index 996d80a89..083054877 100644
--- a/runsc/container/container_test.go
+++ b/runsc/container/container_test.go
@@ -735,13 +735,11 @@ func TestUnixDomainSockets(t *testing.T) {
UID: uint32(os.Getuid()),
GID: uint32(os.Getgid()),
}
- spec.Mounts = []specs.Mount{
- specs.Mount{
- Type: "bind",
- Destination: dir,
- Source: dir,
- },
- }
+ spec.Mounts = []specs.Mount{{
+ Type: "bind",
+ Destination: dir,
+ Source: dir,
+ }}
rootDir, bundleDir, err := testutil.SetupContainer(spec, conf)
if err != nil {