Skip to content

Commit

Permalink
Use CgroupString instead of missing GetCgroupAllowString in lxc_template
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Morozov <[email protected]>
  • Loading branch information
LK4D4 committed Mar 10, 2015
1 parent 2fb89b2 commit c8c11bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemon/execdriver/lxc/lxc_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down

0 comments on commit c8c11bf

Please sign in to comment.