summaryrefslogtreecommitdiff
path: root/libpod/runtime_img_test.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2018-01-14 15:18:01 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2018-01-16 14:32:38 +0000
commit333f664da7ef96462d5e72aaa8a24a17c3e648b8 (patch)
tree253654826b56543702864c1a871e379e000042c8 /libpod/runtime_img_test.go
parenta7ad6e75ab967a51ee8dcd9c8dbc81c949e21d21 (diff)
downloadpodman-333f664da7ef96462d5e72aaa8a24a17c3e648b8.tar.gz
podman-333f664da7ef96462d5e72aaa8a24a17c3e648b8.tar.bz2
podman-333f664da7ef96462d5e72aaa8a24a17c3e648b8.zip
When performing state-changing operations, don't exec runtime
If we start a container and it does not error, we can assume the container is now running. Subsequent API calls will sync for us to see if it died, so we can just set ContainerStateRunning instead of launching the runtime to explicitly get state. The same logic applies to pause and unpause. Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #223 Approved by: rhatdan
Diffstat (limited to 'libpod/runtime_img_test.go')
0 files changed, 0 insertions, 0 deletions