Merge pull request #47735 from cpuguy83/better_walk_error
Include more details in errNotManifestOrIndex
This commit is contained in:
commit
801fd16e3e
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue