From c8c11bfc363363fcc26da5868292544cbabea320 Mon Sep 17 00:00:00 2001 From: Alexander Morozov Date: Tue, 10 Mar 2015 08:50:03 -0700 Subject: [PATCH] Use CgroupString instead of missing GetCgroupAllowString in lxc_template Signed-off-by: Alexander Morozov --- daemon/execdriver/lxc/lxc_template.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/execdriver/lxc/lxc_template.go b/daemon/execdriver/lxc/lxc_template.go index 425df01da8..79ef51fb72 100644 --- a/daemon/execdriver/lxc/lxc_template.go +++ b/daemon/execdriver/lxc/lxc_template.go @@ -51,7 +51,7 @@ lxc.cgroup.devices.allow = a lxc.cgroup.devices.deny = a #Allow the devices passed to us in the AllowedDevices list. {{range $allowedDevice := .AllowedDevices}} -lxc.cgroup.devices.allow = {{$allowedDevice.GetCgroupAllowString}} +lxc.cgroup.devices.allow = {{$allowedDevice.CgroupString}} {{end}} {{end}}