Windows: Graph driver implementation

Signed-off-by: John Howard <jhoward@microsoft.com>
Upstream-commit: 52f4d09ffb376ffaa6677cb1e0413c6a97f53f24
Component: engine
This commit is contained in:
John Howard
2015-06-11 11:29:29 -07:00
parent 576b45a55d
commit 1296feade8
29 changed files with 850 additions and 145 deletions

View File

@ -7,7 +7,6 @@ import (
"github.com/Sirupsen/logrus"
"github.com/docker/docker/api/types"
"github.com/docker/docker/graph"
"github.com/docker/docker/image"
"github.com/docker/docker/pkg/parsers"
"github.com/docker/docker/pkg/stringid"
"github.com/docker/docker/utils"
@ -160,7 +159,7 @@ func (daemon *Daemon) canDeleteImage(imgID string, force bool) error {
return err
}
if err := daemon.graph.WalkHistory(parent, func(p image.Image) error {
if err := daemon.graph.WalkHistory(parent, func(p graph.Image) error {
if imgID == p.ID {
if container.IsRunning() {
if force {