Skip to content

Commit

Permalink
Fix missing mount ID on volume unmount
Browse files Browse the repository at this point in the history
Fixes moby#25331

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
  • Loading branch information
cpuguy83 committed Aug 2, 2016
1 parent b47df1d commit 63983f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion container/container_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 63983f3

Please sign in to comment.