mirror of https://github.com/containers/podman.git
Need to provide ID of container being updated
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
This commit is contained in:
parent
b10fb66c28
commit
898138441d
|
|
@ -418,7 +418,8 @@ func (s *SQLState) SaveContainer(ctr *Container) error {
|
|||
ctr.state.Mountpoint,
|
||||
timeToSQL(ctr.state.StartedTime),
|
||||
timeToSQL(ctr.state.FinishedTime),
|
||||
ctr.state.ExitCode)
|
||||
ctr.state.ExitCode,
|
||||
ctr.ID())
|
||||
if err != nil {
|
||||
return errors.Wrapf(err, "error updating container %s state in database", ctr.ID())
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue