Merge pull request #15754 from mountkin/fix-return
modify a return value in graph/tags.go to increase readability
This commit is contained in:
commit
85bef48bf5
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue