Browse code

Merge pull request #26656 from miaoyq/rename-name-to-destination

Rename the variable 'name' to 'destination'

Vincent Demeester authored on 2016/09/17 23:01:02
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.