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

Rename the variable 'name' to 'destination'
Upstream-commit: e54171378c7e7e17738a48e9ef768bbe337d0c28
Component: engine
This commit is contained in:
Vincent Demeester
2016-09-17 16:01:02 +02:00
committed by GitHub
+2 -2
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.