mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Rename the variable 'name' to 'destination'
Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>
This commit is contained in:
parent
d93a62e9be
commit
57cec5a777
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue