mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Use CgroupString instead of missing GetCgroupAllowString in lxc_template
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
This commit is contained in:
parent
2fb89b2e2c
commit
c8c11bfc36
1 changed files with 1 additions and 1 deletions
|
@ -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}}
|
||||
|
||||
|
|
Loading…
Reference in a new issue