mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
Windows: Add volume support
Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user