mirror of
https://github.com/docker/cli.git
synced 2026-09-24 07:25:07 -05:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user