mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-05 13:11:30 +00: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:
+1
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user