Skip to content

Commit

Permalink
Merge pull request #47735 from cpuguy83/better_walk_error
Browse files Browse the repository at this point in the history
Include more details in errNotManifestOrIndex
  • Loading branch information
neersighted committed Apr 20, 2024
2 parents ee8b788 + 6667e96 commit 801fd16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemon/containerd/image_manifest.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 801fd16

Please sign in to comment.