From 2c433143026a9bc5f1e95b95bde3dd0ae5216f1d Mon Sep 17 00:00:00 2001 From: Alexander Morozov Date: Wed, 14 Jan 2015 14:01:36 -0800 Subject: [PATCH] Calming vet about type aliases from other package Signed-off-by: Alexander Morozov Upstream-commit: 5ce60217f1ba07015af72978e715a08259e2efc1 Component: engine --- .../daemon/execdriver/native/template/default_template.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/engine/daemon/execdriver/native/template/default_template.go b/components/engine/daemon/execdriver/native/template/default_template.go index 6aa213d6bc..f7d6be746d 100644 --- a/components/engine/daemon/execdriver/native/template/default_template.go +++ b/components/engine/daemon/execdriver/native/template/default_template.go @@ -25,13 +25,13 @@ func New() *libcontainer.Config { "KILL", "AUDIT_WRITE", }, - Namespaces: libcontainer.Namespaces{ + Namespaces: libcontainer.Namespaces([]libcontainer.Namespace{ {Type: "NEWNS"}, {Type: "NEWUTS"}, {Type: "NEWIPC"}, {Type: "NEWPID"}, {Type: "NEWNET"}, - }, + }), Cgroups: &cgroups.Cgroup{ Parent: "docker", AllowAllDevices: false,