modify a return value in graph/tags.go to increase readability
Signed-off-by: Shijiang Wei <mountkin@gmail.com> Upstream-commit: f11b7acc73b333eb480d2520f703f0a9c50d0a0e Component: engine
This commit is contained in:
@@ -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