mirror of
https://github.com/moby/moby.git
synced 2026-08-06 16:11:48 +00:00
Merge pull request #47735 from cpuguy83/better_walk_error
Include more details in errNotManifestOrIndex
This commit is contained in:
@@ -45,7 +45,7 @@ func (i *ImageService) walkImageManifests(ctx context.Context, img containerdima
|
||||
return i.walkPresentChildren(ctx, desc, handleManifest)
|
||||
}
|
||||
|
||||
return errNotManifestOrIndex
|
||||
return errors.Wrapf(errNotManifestOrIndex, "error walking manifest for %s", img.Name)
|
||||
}
|
||||
|
||||
type ImageManifest struct {
|
||||
|
||||
Reference in New Issue
Block a user