summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@pm.me>2020-05-14 17:01:49 -0400
committerMatthew Heon <matthew.heon@pm.me>2020-05-14 17:01:49 -0400
commita6d9cf9a5e46ff3a8f1f8d2515c12ff6d31056b4 (patch)
treed9ef7df9a07d15329cb50aa40b1fdcffbf702050
parent1641f4fc0d7c1d2f3e64e37d51fb50ededd8ddbb (diff)
downloadpodman-a6d9cf9a5e46ff3a8f1f8d2515c12ff6d31056b4.tar.gz
podman-a6d9cf9a5e46ff3a8f1f8d2515c12ff6d31056b4.tar.bz2
podman-a6d9cf9a5e46ff3a8f1f8d2515c12ff6d31056b4.zip
Fix lint
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
-rw-r--r--libpod/container_internal.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/container_internal.go b/libpod/container_internal.go
index 13b986cac..909ad9851 100644
--- a/libpod/container_internal.go
+++ b/libpod/container_internal.go
@@ -1014,7 +1014,7 @@ func (c *Container) init(ctx context.Context, retainRetries bool) error {
// Remove any exec sessions leftover from a potential prior run.
if len(c.state.ExecSessions) > 0 {
if err := c.runtime.state.RemoveContainerExecSessions(c); err != nil {
- logrus.Errorf("Error removing container %s exec sessions from DB: %v", err)
+ logrus.Errorf("Error removing container %s exec sessions from DB: %v", c.ID(), err)
}
c.state.ExecSessions = make(map[string]*ExecSession)
}