Windows: Fail fs ops on running Hyper-V containers gracefully

Signed-off-by: John Howard (VM) <jhoward@ntdev.microsoft.com>
This commit is contained in:
John Howard (VM)
2017-03-15 11:29:12 -07:00
parent 297786f30c
commit 481d2633fe
3 changed files with 53 additions and 1 deletions

View File

@@ -56,3 +56,9 @@ func fixPermissions(source, destination string, uid, gid int, destExisted bool)
return os.Lchown(fullpath, uid, gid)
})
}
// isOnlineFSOperationPermitted returns an error if an online filesystem operation
// is not permitted.
func (daemon *Daemon) isOnlineFSOperationPermitted(container *container.Container) error {
return nil
}