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:
commit
e54171378c
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…
Reference in a new issue