diff options
author | Matthew Heon <mheon@redhat.com> | 2020-05-14 11:58:02 -0400 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2020-05-14 11:58:02 -0400 |
commit | 892d81685c9fc213b0e9d444f953577ebb89593b (patch) | |
tree | c7b06b49d67ad89a41b28f705e99269f2ede0a54 /libpod/container_internal.go | |
parent | 83a1e2e5d22761ad62de8e202938bbdb4896f236 (diff) | |
download | podman-892d81685c9fc213b0e9d444f953577ebb89593b.tar.gz podman-892d81685c9fc213b0e9d444f953577ebb89593b.tar.bz2 podman-892d81685c9fc213b0e9d444f953577ebb89593b.zip |
Ensure that cleanup runs before we set Removing state
Cleaning up the OCI runtime is not allowed in the Removing state.
To ensure it is actually cleaned up, when calling cleanup() as
part of removing a container, do so before we set the Removing
state, so we can successfully remove.
Signed-off-by: Matthew Heon <mheon@redhat.com>
Diffstat (limited to 'libpod/container_internal.go')
0 files changed, 0 insertions, 0 deletions