Fixed a bug in graph.Graph.Get()
Upstream-commit: 84e8c4aa1df8f6f53d1c688a0e2bfc5b4d46adef Component: engine
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