Skip to content

Commit

Permalink
fix: replace LayerByDigest with LayerByDiffID
Browse files Browse the repository at this point in the history
  • Loading branch information
knqyf263 committed Sep 19, 2021
1 parent 881e16e commit bb5ea5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/v1/daemon/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,5 +185,5 @@ func (i image) LayerByDiffID(h v1.Hash) (v1.Layer, error) {
if err := i.initialize(); err != nil {
return nil, err
}
return i.tarballImage.LayerByDigest(h)
return i.tarballImage.LayerByDiffID(h)
}

0 comments on commit bb5ea5e

Please sign in to comment.