Browse code

Rename the variable 'name' to 'destination'

Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>

Yanqiang Miao authored on 2016/09/17 11:52:11
Showing 1 changed files
... ...
@@ -85,8 +85,8 @@ func (daemon *Daemon) registerMountPoints(container *container.Container, hostCo
85 85
 	}()
86 86
 
87 87
 	// 1. Read already configured mount points.
88
-	for name, point := range container.MountPoints {
89
-		mountPoints[name] = point
88
+	for destination, point := range container.MountPoints {
89
+		mountPoints[destination] = point
90 90
 	}
91 91
 
92 92
 	// 2. Read volumes from other containers.