Skip to content

Commit 901f566

Browse files
ilopezlunaCopilot
andauthored
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 13e3b2a commit 901f566

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/distribution/internal/store/store.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ func (s *LocalStore) WriteLightweight(mdl v1.Image, tags []string) error {
271271
for _, layer := range layers {
272272
digest, err := layer.Digest()
273273
if err != nil {
274-
return fmt.Errorf("getting layer diffID: %w", err)
274+
return fmt.Errorf("getting layer digest: %w", err)
275275
}
276276
hasBlob, err := s.hasBlob(digest)
277277
if err != nil {

0 commit comments

Comments
 (0)