Merge pull request #25333 from cpuguy83/25331_fix_missing_mount_id

Fix missing mount ID on volume unmount
Upstream-commit: f0d7bd597bbe3ca2b0c8a232928c703152087294
Component: engine
This commit is contained in:
Brian Goff
2016-08-02 13:10:54 -04:00
committed by GitHub
@@ -325,7 +325,7 @@ func (container *Container) UnmountVolumes(forceSyscall bool, volumeEventLog fun
return err
}
volumeMounts = append(volumeMounts, volume.MountPoint{Destination: dest, Volume: mntPoint.Volume})
volumeMounts = append(volumeMounts, volume.MountPoint{Destination: dest, Volume: mntPoint.Volume, ID: mntPoint.ID})
}
// Append any network mounts to the list (this is a no-op on Windows)