From 57cec5a777e93486f14151087d178e3569d25d2b Mon Sep 17 00:00:00 2001 From: Yanqiang Miao Date: Sat, 17 Sep 2016 10:52:11 +0800 Subject: [PATCH] Rename the variable 'name' to 'destination' Signed-off-by: Yanqiang Miao --- daemon/volumes.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon/volumes.go b/daemon/volumes.go index 2f50bdb492..6695a1fec4 100644 --- a/daemon/volumes.go +++ b/daemon/volumes.go @@ -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.