oci: save container's finished time
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
790c6d891a
commit
fbc5e49a60
1 changed files with 2 additions and 0 deletions
|
@ -501,6 +501,8 @@ func (r *Runtime) StopContainer(c *Container, timeout int64) error {
|
|||
}
|
||||
}
|
||||
|
||||
c.state.Finished = time.Now()
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue