summaryrefslogtreecommitdiff
path: root/libpod/runtime_ctr.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2018-03-20 06:09:40 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2018-03-29 01:55:20 +0000
commit471409a5cf0e011d55bae17f57f0bc6a268e4bd8 (patch)
treeef4164411fcb5d8d1390b65be78eb8edb2359117 /libpod/runtime_ctr.go
parentc54816dfc39b00824b9d4902ed2e533b3c6c07a7 (diff)
downloadpodman-471409a5cf0e011d55bae17f57f0bc6a268e4bd8.tar.gz
podman-471409a5cf0e011d55bae17f57f0bc6a268e4bd8.tar.bz2
podman-471409a5cf0e011d55bae17f57f0bc6a268e4bd8.zip
Error is already wrapped properly.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #517 Approved by: baude
Diffstat (limited to 'libpod/runtime_ctr.go')
-rw-r--r--libpod/runtime_ctr.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/runtime_ctr.go b/libpod/runtime_ctr.go
index 3b4710d96..acab219c7 100644
--- a/libpod/runtime_ctr.go
+++ b/libpod/runtime_ctr.go
@@ -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 {