summaryrefslogtreecommitdiff
path: root/libpod/container_api.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2018-11-07 09:36:03 -0800
committerGitHub <noreply@github.com>2018-11-07 09:36:03 -0800
commitae031378619ba78bcd22a3c2ee9b276506c1dbd3 (patch)
treecd35959d810a754f9c300764561edaa944c84b26 /libpod/container_api.go
parent1e1aaac97d795b5c94f3c714d3d240d48c5efb97 (diff)
parent536af1f68944c68956e705d589e11cd52875273a (diff)
downloadpodman-ae031378619ba78bcd22a3c2ee9b276506c1dbd3.tar.gz
podman-ae031378619ba78bcd22a3c2ee9b276506c1dbd3.tar.bz2
podman-ae031378619ba78bcd22a3c2ee9b276506c1dbd3.zip
Merge pull request #1689 from mheon/add_runc_timeout
Do not call out to runc for sync
Diffstat (limited to 'libpod/container_api.go')
-rw-r--r--libpod/container_api.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/container_api.go b/libpod/container_api.go
index 30c67eb2a..25c1fb5f9 100644
--- a/libpod/container_api.go
+++ b/libpod/container_api.go
@@ -685,7 +685,7 @@ func (c *Container) Sync() error {
(c.state.State != ContainerStateConfigured) {
oldState := c.state.State
// TODO: optionally replace this with a stat for the exit file
- if err := c.runtime.ociRuntime.updateContainerStatus(c); err != nil {
+ if err := c.runtime.ociRuntime.updateContainerStatus(c, true); err != nil {
return err
}
// Only save back to DB if state changed