mirror of
https://github.com/containers/podman.git
synced 2025-10-18 03:33:32 +08:00
Error is already wrapped properly.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #517 Approved by: baude
This commit is contained in:

committed by
Atomic Bot

parent
c54816dfc3
commit
471409a5cf
@ -61,7 +61,7 @@ func (r *Runtime) NewContainer(rSpec *spec.Spec, options ...CtrCreateOption) (c
|
||||
|
||||
// Set up storage for the container
|
||||
if err := ctr.setupStorage(); err != nil {
|
||||
return nil, errors.Wrapf(err, "error configuring storage for container")
|
||||
return nil, err
|
||||
}
|
||||
defer func() {
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user