Merge pull request #25333 from cpuguy83/25331_fix_missing_mount_id

Fix missing mount ID on volume unmount
This commit is contained in:
Brian Goff 2016-08-02 13:10:54 -04:00 committed by GitHub
commit f0d7bd597b

View file

@ -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)