1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

modify a return value in graph/tags.go to increase readability

Signed-off-by: Shijiang Wei <mountkin@gmail.com>
This commit is contained in:
Shijiang Wei 2015-08-21 21:36:30 +08:00
parent a6e0a6852d
commit f11b7acc73

View file

@ -155,7 +155,7 @@ func (store *TagStore) LookupImage(name string) (*image.Image, error) {
}
if img != nil {
return img, err
return img, nil
}
// name must be an image ID.