Skip to content

Commit 801fd16

Browse files
authored
Merge pull request #47735 from cpuguy83/better_walk_error
Include more details in errNotManifestOrIndex
2 parents ee8b788 + 6667e96 commit 801fd16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

daemon/containerd/image_manifest.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func (i *ImageService) walkImageManifests(ctx context.Context, img containerdima
4545
return i.walkPresentChildren(ctx, desc, handleManifest)
4646
}
4747

48-
return errNotManifestOrIndex
48+
return errors.Wrapf(errNotManifestOrIndex, "error walking manifest for %s", img.Name)
4949
}
5050

5151
type ImageManifest struct {

0 commit comments

Comments
 (0)