1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #26656 from miaoyq/rename-name-to-destination

Rename the variable 'name' to 'destination'
This commit is contained in:
Vincent Demeester 2016-09-17 16:01:02 +02:00 committed by GitHub
commit e54171378c

View file

@ -85,8 +85,8 @@ func (daemon *Daemon) registerMountPoints(container *container.Container, hostCo
}()
// 1. Read already configured mount points.
for name, point := range container.MountPoints {
mountPoints[name] = point
for destination, point := range container.MountPoints {
mountPoints[destination] = point
}
// 2. Read volumes from other containers.