Rename the variable 'name' to 'destination'

Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>
This commit is contained in:
Yanqiang Miao 2016-09-17 10:52:11 +08:00
parent d93a62e9be
commit 57cec5a777
1 changed files with 2 additions and 2 deletions

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.