From 5ce60217f1ba07015af72978e715a08259e2efc1 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 --- daemon/execdriver/native/template/default_template.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon/execdriver/native/template/default_template.go b/daemon/execdriver/native/template/default_template.go index 6aa213d6b..f7d6be746 100644 --- a/daemon/execdriver/native/template/default_template.go +++ b/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,