Windows: Add volume support

Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
John Howard
2015-09-09 19:23:06 -07:00
parent f33678d1bf
commit a7e686a779
47 changed files with 1711 additions and 732 deletions

View File

@@ -8,7 +8,7 @@ package daemon
func checkIfPathIsInAVolume(container *Container, absPath string) (bool, error) {
var toVolume bool
for _, mnt := range container.MountPoints {
if toVolume = mnt.hasResource(absPath); toVolume {
if toVolume = mnt.HasResource(absPath); toVolume {
if mnt.RW {
break
}