summaryrefslogtreecommitdiff
path: root/libpod/oci.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2018-10-03 06:06:14 -0700
committerGitHub <noreply@github.com>2018-10-03 06:06:14 -0700
commita3c4ce6717cab56d968fbe1fff0ced19f45c23cb (patch)
tree41657a47b6edeb8ab4776eddf64cb76f59b2813c /libpod/oci.go
parentd5687946f6a0aa14a5326f26ca0ceca68588056f (diff)
parent978aac665060140f08a5574e3611a17cc98516c0 (diff)
downloadpodman-a3c4ce6717cab56d968fbe1fff0ced19f45c23cb.tar.gz
podman-a3c4ce6717cab56d968fbe1fff0ced19f45c23cb.tar.bz2
podman-a3c4ce6717cab56d968fbe1fff0ced19f45c23cb.zip
Merge pull request #1531 from mheon/add_exited_state
Add ContainerStateExited and OCI delete() in cleanup()
Diffstat (limited to 'libpod/oci.go')
-rw-r--r--libpod/oci.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/oci.go b/libpod/oci.go
index 17f0630c4..e5db06540 100644
--- a/libpod/oci.go
+++ b/libpod/oci.go
@@ -457,7 +457,7 @@ func (r *OCIRuntime) updateContainerStatus(ctr *Container) error {
if err != nil {
if strings.Contains(string(out), "does not exist") {
ctr.removeConmonFiles()
- ctr.state.State = ContainerStateConfigured
+ ctr.state.State = ContainerStateExited
return nil
}
return errors.Wrapf(err, "error getting container %s state. stderr/out: %s", ctr.ID(), out)