Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
| ... | ... |
@@ -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, |