Update mount struct with reference

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby 2014-09-01 15:18:30 -07:00
parent cf31787cd0
commit 688741df31
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ func (d *driver) setupCgroups(container *libcontainer.Config, c *execdriver.Comm
func (d *driver) setupMounts(container *libcontainer.Config, c *execdriver.Command) error {
for _, m := range c.Mounts {
container.MountConfig.Mounts = append(container.MountConfig.Mounts, mount.Mount{
container.MountConfig.Mounts = append(container.MountConfig.Mounts, &mount.Mount{
Type: "bind",
Source: m.Source,
Destination: m.Destination,