oci: save container's finished time

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
Antonio Murdaca 2017-05-11 11:35:31 +02:00
parent 790c6d891a
commit fbc5e49a60
No known key found for this signature in database
GPG key ID: B2BEAD150DE936B9

View file

@ -501,6 +501,8 @@ func (r *Runtime) StopContainer(c *Container, timeout int64) error {
}
}
c.state.Finished = time.Now()
return nil
}