Browse code

Update mount struct with reference

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>

Michael Crosby authored on 2014/09/02 07:18:30
Showing 1 changed files
... ...
@@ -161,7 +161,7 @@ func (d *driver) setupCgroups(container *libcontainer.Config, c *execdriver.Comm
161 161
 
162 162
 func (d *driver) setupMounts(container *libcontainer.Config, c *execdriver.Command) error {
163 163
 	for _, m := range c.Mounts {
164
-		container.MountConfig.Mounts = append(container.MountConfig.Mounts, mount.Mount{
164
+		container.MountConfig.Mounts = append(container.MountConfig.Mounts, &mount.Mount{
165 165
 			Type:        "bind",
166 166
 			Source:      m.Source,
167 167
 			Destination: m.Destination,