include image name in error message
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
This commit is contained in:
parent
07362334f0
commit
725c92e7c7
@ -335,7 +335,7 @@ func (i *image) Unpack(ctx context.Context, snapshotterName string, opts ...Unpa
|
||||
for _, layer := range layers {
|
||||
unpacked, err = rootfs.ApplyLayerWithOpts(ctx, layer, chain, sn, a, config.SnapshotOpts, config.ApplyOpts)
|
||||
if err != nil {
|
||||
return err
|
||||
return fmt.Errorf("apply layer error for %q: %w", i.Name(), err)
|
||||
}
|
||||
|
||||
if unpacked {
|
||||
|
Loading…
Reference in New Issue
Block a user