mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Update mount struct with reference
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
parent
cf31787cd0
commit
688741df31
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue