mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-05 05:01:28 +00:00
Fixed a bug in graph.Graph.Get()
This commit is contained in:
@@ -42,6 +42,7 @@ func (graph *Graph) Get(id string) (*Image, error) {
|
||||
if img.Id != id {
|
||||
return nil, fmt.Errorf("Image stored at '%s' has wrong id '%s'", id, img.Id)
|
||||
}
|
||||
img.graph = graph
|
||||
return img, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user