Merge pull request #15754 from mountkin/fix-return
modify a return value in graph/tags.go to increase readability Upstream-commit: 85bef48bf5a0c781cfa6418fa63318a94032efc7 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