aboutsummaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2019-08-14 19:31:21 +0200
committerGiuseppe Scrivano <gscrivan@redhat.com>2019-08-19 11:11:35 +0200
commit25f40e2ef3785fb75a1918882d530c1030d051ea (patch)
tree98b45204cb6abcd19af674bb309c883db6ee8c61 /pkg
parent763d2d062d47149ca67f69c6db58ee0b8d1e771f (diff)
downloadpodman-25f40e2ef3785fb75a1918882d530c1030d051ea.tar.gz
podman-25f40e2ef3785fb75a1918882d530c1030d051ea.tar.bz2
podman-25f40e2ef3785fb75a1918882d530c1030d051ea.zip
containers, create: debug message on failed deletion
if the container failed to be created, don't assume it is still known to the OCI runtime. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'pkg')
-rw-r--r--pkg/adapter/containers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/adapter/containers.go b/pkg/adapter/containers.go
index 45a9a54a3..8a4376486 100644
--- a/pkg/adapter/containers.go
+++ b/pkg/adapter/containers.go
@@ -410,7 +410,7 @@ func (r *LocalRuntime) Run(ctx context.Context, c *cliconfig.RunValues, exitCode
}
if c.IsSet("rm") {
if deleteError := r.Runtime.RemoveContainer(ctx, ctr, true, false); deleteError != nil {
- logrus.Errorf("unable to remove container %s after failing to start and attach to it", ctr.ID())
+ logrus.Debugf("unable to remove container %s after failing to start and attach to it", ctr.ID())
}
}
return exitCode, err