Merge pull request #170 from cyphar/port-to-i586
oci: cast timestamp to int64
This commit is contained in:
commit
6f9e51fc7d
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ func (r *Runtime) UpdateStatus(c *Container) error {
|
||||||
return fmt.Errorf("failed to find container exit file: %v", err)
|
return fmt.Errorf("failed to find container exit file: %v", err)
|
||||||
}
|
}
|
||||||
st := fi.Sys().(*syscall.Stat_t)
|
st := fi.Sys().(*syscall.Stat_t)
|
||||||
c.state.Finished = time.Unix(st.Ctim.Sec, st.Ctim.Nsec)
|
c.state.Finished = time.Unix(int64(st.Ctim.Sec), int64(st.Ctim.Nsec))
|
||||||
|
|
||||||
statusCodeStr, err := ioutil.ReadFile(exitFilePath)
|
statusCodeStr, err := ioutil.ReadFile(exitFilePath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in a new issue