Skip to content
Snippets Groups Projects
Commit 19045b53 authored by Joffrey F's avatar Joffrey F
Browse files

simplify graph.Checksums

parent b5873806
No related branches found
No related tags found
No related merge requests found
......@@ -297,10 +297,7 @@ func (graph *Graph) Checksums(repo Repository) ([]map[string]string, error) {
}
err = img.WalkHistory(func(image *Image) error {
checksums[image.Id], err = image.Checksum()
if err != nil {
return err
}
return nil
return err
})
if err != nil {
return nil, err
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment