mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fixed a bug in graph.Graph.Get()
This commit is contained in:
parent
89a140fb75
commit
84e8c4aa1d
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue