Signed-off-by: Matthew Heon <matthew.heon@pm.me>
This commit is contained in:
Matthew Heon 2020-05-14 17:01:49 -04:00
parent 1641f4fc0d
commit a6d9cf9a5e
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}