From 471409a5cf0e011d55bae17f57f0bc6a268e4bd8 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Tue, 20 Mar 2018 06:09:40 -0400 Subject: Error is already wrapped properly. Signed-off-by: Daniel J Walsh Closes: #517 Approved by: baude --- libpod/runtime_ctr.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit v1.2.3-54-g00ecf