Merge pull request #13773 from dmcgowan/refactor-1-image-graph-separation

refactor: separate graph from image
Upstream-commit: 00b8fec75f3a113c851013e0f0d559cc6d96b84d
Component: engine
This commit is contained in:
Arnaud Porterie
2015-06-11 17:44:37 -07:00
11 changed files with 273 additions and 332 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ func (daemon *Daemon) Create(config *runconfig.Config, hostConfig *runconfig.Hos
if err != nil {
return nil, nil, err
}
if err = img.CheckDepth(); err != nil {
if err = daemon.graph.CheckDepth(img); err != nil {
return nil, nil, err
}
imgID = img.ID