diff options
author | Matthew Heon <matthew.heon@gmail.com> | 2018-10-25 14:11:44 -0400 |
---|---|---|
committer | Matthew Heon <matthew.heon@gmail.com> | 2018-11-07 11:36:01 -0500 |
commit | c9e9ca5671775652b2e097641713084ea367a7fa (patch) | |
tree | 5174a53d5396f764b2621f5f0791d96df546acaf /libpod | |
parent | 0f45403c9ba5eace4b48bad2b86ad540bae3435d (diff) | |
download | podman-c9e9ca5671775652b2e097641713084ea367a7fa.tar.gz podman-c9e9ca5671775652b2e097641713084ea367a7fa.tar.bz2 podman-c9e9ca5671775652b2e097641713084ea367a7fa.zip |
Properly set Running state when starting containers
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
Diffstat (limited to 'libpod')
-rw-r--r-- | libpod/container_internal.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libpod/container_internal.go b/libpod/container_internal.go index 9bb45a08a..5221ac5b6 100644 --- a/libpod/container_internal.go +++ b/libpod/container_internal.go @@ -734,6 +734,8 @@ func (c *Container) start() error { } logrus.Debugf("Started container %s", c.ID()) + c.state.State = ContainerStateRunning + return c.save() } |