From 688741df31396ece5f72cbc5ecc0250b3d06a8bc Mon Sep 17 00:00:00 2001 From: Michael Crosby Date: Mon, 1 Sep 2014 15:18:30 -0700 Subject: [PATCH] Update mount struct with reference Signed-off-by: Michael Crosby --- daemon/execdriver/native/create.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/execdriver/native/create.go b/daemon/execdriver/native/create.go index 8a13f2386..8f40407c0 100644 --- a/daemon/execdriver/native/create.go +++ b/daemon/execdriver/native/create.go @@ -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,