Merge pull request #47735 from cpuguy83/better_walk_error

Include more details in errNotManifestOrIndex
This commit is contained in:
Bjorn Neergaard 2024-04-19 18:16:12 -07:00 committed by GitHub
commit 801fd16e3e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -45,7 +45,7 @@ func (i *ImageService) walkImageManifests(ctx context.Context, img containerdima
return i.walkPresentChildren(ctx, desc, handleManifest) return i.walkPresentChildren(ctx, desc, handleManifest)
} }
return errNotManifestOrIndex return errors.Wrapf(errNotManifestOrIndex, "error walking manifest for %s", img.Name)
} }
type ImageManifest struct { type ImageManifest struct {