Skip to content

Commit

Permalink
Merge pull request moby#15754 from mountkin/fix-return
Browse files Browse the repository at this point in the history
modify a return value in graph/tags.go to increase readability
  • Loading branch information
cpuguy83 committed Aug 21, 2015
2 parents 10c97a3 + f11b7ac commit 85bef48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graph/tags.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 85bef48

Please sign in to comment.